From a6565199fff7a7614bdf8a2c38d2872e16c61939 Mon Sep 17 00:00:00 2001 From: Lars Christensen Date: Tue, 8 Mar 2016 16:19:39 +0100 Subject: [PATCH] Restart network after reconfiguration Fixes #7119. --- plugins/guests/arch/cap/configure_networks.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/guests/arch/cap/configure_networks.rb b/plugins/guests/arch/cap/configure_networks.rb index 1b95469fc..ad5a356d3 100644 --- a/plugins/guests/arch/cap/configure_networks.rb +++ b/plugins/guests/arch/cap/configure_networks.rb @@ -27,7 +27,7 @@ module VagrantPlugins machine.communicate.upload(temp.path, "/tmp/vagrant_network") machine.communicate.sudo("mv /tmp/vagrant_network /etc/netctl/#{network[:device]}") - machine.communicate.sudo("ip link set #{network[:device]} down && netctl start #{network[:device]} && netctl enable #{network[:device]}") + machine.communicate.sudo("ip link set #{network[:device]} down && netctl restart #{network[:device]} && netctl enable #{network[:device]}") end end end