From 1c4e7ee0689a8e0b15a7b119807e3ddca4aad61c Mon Sep 17 00:00:00 2001 From: AJ Date: Tue, 23 Aug 2016 20:58:15 +0100 Subject: [PATCH] assuming a scenario - vagrant up -> power off -> vagrant up vagrant will stuck on the network configuration DEBUG ssh: stdout: mv: overwrite '/etc/sysconfig/network-scripts/ifcfg-eth0'? DEBUG ssh: Sending SSH keep-alive... --- plugins/guests/redhat/cap/configure_networks.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/guests/redhat/cap/configure_networks.rb b/plugins/guests/redhat/cap/configure_networks.rb index 6cbc9ec17..05b2195fd 100644 --- a/plugins/guests/redhat/cap/configure_networks.rb +++ b/plugins/guests/redhat/cap/configure_networks.rb @@ -43,7 +43,7 @@ module VagrantPlugins /sbin/ifdown '#{network[:device]}' || true # Move new config into place - mv '#{remote_path}' '#{final_path}' + mv -f '#{remote_path}' '#{final_path}' # Bring the interface up ARPCHECK=no /sbin/ifup '#{network[:device]}'