From a16b6f84e36624b09a0590d8dbe9af440de0d1f4 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Tue, 9 May 2017 09:13:40 -0700 Subject: [PATCH] Remove reload via cli and just restart the service --- plugins/guests/redhat/cap/configure_networks.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/guests/redhat/cap/configure_networks.rb b/plugins/guests/redhat/cap/configure_networks.rb index 2b5a8b249..44fa5fa67 100644 --- a/plugins/guests/redhat/cap/configure_networks.rb +++ b/plugins/guests/redhat/cap/configure_networks.rb @@ -74,8 +74,7 @@ module VagrantPlugins end end if nmcli_installed - commands[:middle] << "((nmcli c help 2>&1 | grep reload) && nmcli c reload) || " \ - "(test -f /etc/init.d/NetworkManager && /etc/init.d/NetworkManager restart) || " \ + commands[:middle] << "(test -f /etc/init.d/NetworkManager && /etc/init.d/NetworkManager restart) || " \ "((systemctl | grep NetworkManager.service) && systemctl restart NetworkManager)" end commands = commands[:start] + commands[:middle] + commands[:end]