From 1029538b2484a368d06fa153fd79e00db382bffc Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Sun, 9 Jun 2013 14:14:33 -0400 Subject: [PATCH] Set ARPCHECK=no as an environment variable with doing ifup #921 --- plugins/guests/redhat/cap/configure_networks.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/guests/redhat/cap/configure_networks.rb b/plugins/guests/redhat/cap/configure_networks.rb index 227fecfa6..e028fdfc9 100644 --- a/plugins/guests/redhat/cap/configure_networks.rb +++ b/plugins/guests/redhat/cap/configure_networks.rb @@ -48,7 +48,7 @@ module VagrantPlugins retryable(:on => Vagrant::Errors::VagrantError, :tries => 3, :sleep => 2) do machine.communicate.sudo("/sbin/ifdown eth#{interface} 2> /dev/null", :error_check => false) machine.communicate.sudo("cat /tmp/vagrant-network-entry_#{interface} >> #{network_scripts_dir}/ifcfg-eth#{interface}") - machine.communicate.sudo("/sbin/ifup eth#{interface} 2> /dev/null") + machine.communicate.sudo("ARPCHECK=no /sbin/ifup eth#{interface} 2> /dev/null") end machine.communicate.sudo("rm /tmp/vagrant-network-entry_#{interface}")