From 384fd3ba9868fae34d5589437ff8f6fc29c0bae1 Mon Sep 17 00:00:00 2001 From: SilverWyrda Date: Sat, 6 Sep 2014 06:44:24 +0200 Subject: [PATCH] Delegate cleaning to arch box packagers --- plugins/guests/arch/cap/configure_networks.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/plugins/guests/arch/cap/configure_networks.rb b/plugins/guests/arch/cap/configure_networks.rb index b45d0b6d9..3d69fee7c 100644 --- a/plugins/guests/arch/cap/configure_networks.rb +++ b/plugins/guests/arch/cap/configure_networks.rb @@ -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