From 8ecfe32021da7ce0bb8c930d68dd171b80a971d9 Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 30 Jul 2023 17:33:58 +0200 Subject: [PATCH] Remove duplicate appending of "6" to network type To distinct between IPv4 and IPv6 configuration, a "6" was added to the network configuration type if an IPv6 address should be configured. This is now duplicate, as with pull 13024 the same thing is already done prior, thus leading to a duplicate "6" at the end of the network config type, i.e. "static66". --- plugins/providers/virtualbox/action/network.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/providers/virtualbox/action/network.rb b/plugins/providers/virtualbox/action/network.rb index a42d62b66..b7e76e5e1 100644 --- a/plugins/providers/virtualbox/action/network.rb +++ b/plugins/providers/virtualbox/action/network.rb @@ -299,8 +299,6 @@ module VagrantPlugins elsif ip.ipv6? options[:netmask] ||= 64 - # Append a 6 to the end of the type - options[:type] = "#{options[:type]}6".to_sym else raise IPAddr::AddressFamilyError, 'unknown address family' end