Merge pull request #3323 from mattoxbeckman/fix/master/reload-arch-udev-rules

guests/arch: Fix for issue #3322, a followup to issue #2591.
This commit is contained in:
Mitchell Hashimoto 2014-04-01 22:01:12 -07:00
commit a74a57ddf6
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ module VagrantPlugins
machine.communicate.upload(temp.path, "/tmp/vagrant_network") machine.communicate.upload(temp.path, "/tmp/vagrant_network")
machine.communicate.sudo("ln -sf /dev/null /etc/udev/rules.d/80-net-name-slot.rules") machine.communicate.sudo("ln -sf /dev/null /etc/udev/rules.d/80-net-name-slot.rules")
machine.communicate.sudo("udevadm control --reload")
machine.communicate.sudo("mv /tmp/vagrant_network /etc/netctl/eth#{network[:interface]}") machine.communicate.sudo("mv /tmp/vagrant_network /etc/netctl/eth#{network[:interface]}")
# Only consider nth line of sed's output below. There's always an # Only consider nth line of sed's output below. There's always an