From 07bbaf9ac5ea0ebd87333971f3b68c1846e23916 Mon Sep 17 00:00:00 2001 From: Igor Mazur Date: Tue, 22 May 2018 23:29:53 +0300 Subject: [PATCH] Fix fo tests (symbol and string dhcp) --- plugins/guests/debian/cap/configure_networks.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/guests/debian/cap/configure_networks.rb b/plugins/guests/debian/cap/configure_networks.rb index 5f35b874d..bde7957e9 100644 --- a/plugins/guests/debian/cap/configure_networks.rb +++ b/plugins/guests/debian/cap/configure_networks.rb @@ -37,7 +37,7 @@ module VagrantPlugins ethernets = {}.tap do |e_nets| networks.each do |network| e_config = {}.tap do |entry| - if network[:type] == :dhcp + if network[:type] == :dhcp || network[:type] == "dhcp" entry["dhcp4"] = true else mask = network[:netmask]