Fix fo tests (symbol and string dhcp)
This commit is contained in:
parent
be096c3ef4
commit
07bbaf9ac5
|
@ -37,7 +37,7 @@ module VagrantPlugins
|
||||||
ethernets = {}.tap do |e_nets|
|
ethernets = {}.tap do |e_nets|
|
||||||
networks.each do |network|
|
networks.each do |network|
|
||||||
e_config = {}.tap do |entry|
|
e_config = {}.tap do |entry|
|
||||||
if network[:type] == :dhcp
|
if network[:type] == :dhcp || network[:type] == "dhcp"
|
||||||
entry["dhcp4"] = true
|
entry["dhcp4"] = true
|
||||||
else
|
else
|
||||||
mask = network[:netmask]
|
mask = network[:netmask]
|
||||||
|
|
Loading…
Reference in New Issue