Skip to content

Commit

Permalink
Merge pull request hashicorp#1815 from jprosevear/master
Browse files Browse the repository at this point in the history
Set ARPCHECK=no as an environment variable with doing ifup hashicorp#921
  • Loading branch information
mitchellh committed Jun 9, 2013
2 parents 6d33fe4 + 1029538 commit c941de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/guests/redhat/cap/configure_networks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def self.configure_networks(machine, networks)
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}")
Expand Down

0 comments on commit c941de9

Please sign in to comment.