Convert network type to symbol so that strings can be used
This commit is contained in:
parent
88b34d3b71
commit
a9b2ab33ad
|
@ -214,6 +214,9 @@ module VagrantPlugins
|
||||||
:type => :static
|
:type => :static
|
||||||
}.merge(options)
|
}.merge(options)
|
||||||
|
|
||||||
|
# Make sure the type is a symbol
|
||||||
|
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] = "172.28.128.1" if options[:type] == :dhcp
|
options[:ip] = "172.28.128.1" if options[:type] == :dhcp
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue