mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
Delegate cleaning to arch box packagers
This commit is contained in:
parent
10090bf4dc
commit
384fd3ba98
1 changed files with 0 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue