Add the symlink back that disabled renaming of network interface names
This commit is contained in:
parent
df67d2b44f
commit
edeb5f0e9f
|
@ -20,6 +20,7 @@ module VagrantPlugins
|
||||||
temp.close
|
temp.close
|
||||||
|
|
||||||
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("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
|
||||||
|
|
Loading…
Reference in New Issue