Fix failing network test
This commit is contained in:
parent
004fe0e7bb
commit
2c6ef938c7
|
@ -257,7 +257,7 @@ module VagrantPlugins
|
||||||
options[:type] = options[:type].to_sym
|
options[:type] = options[:type].to_sym
|
||||||
|
|
||||||
# Default IP is in the 20-bit private network block for DHCP based networks
|
# Default IP is in the 20-bit private network block for DHCP based networks
|
||||||
options[:ip] = options[:dhcp_ip] if options[:type] == :dhcp && !options[:ip]
|
options[:ip] = options[:dhcp_ip] if options[:type] == :dhcp
|
||||||
|
|
||||||
|
|
||||||
ip = IPAddr.new(options[:ip])
|
ip = IPAddr.new(options[:ip])
|
||||||
|
|
Loading…
Reference in New Issue