Delegate cleaning to arch box packagers

This commit is contained in:
SilverWyrda 2014-09-06 06:44:24 +02:00
parent 10090bf4dc
commit 384fd3ba98
1 changed files with 0 additions and 8 deletions

View File

@ -16,14 +16,6 @@ module VagrantPlugins
interfaces = result.split("\n")
end
# Cleaning of some dirty hacks documented here :
# (http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/)
machine.communicate.sudo("rm -f
/etc/udev/rules.d/*-net-name-slot.rules")
machine.communicate.sudo("rm -f
/etc/udev/rules.d/*-persistent-net.rules")
machine.communicate.sudo("udevadm control --reload")
networks.each do |network|
# We use :device in the template instead of
# eth#{network[:interface]} in order to support Predictable