restart NetworkManager and network for CentOS 7.1
This commit is contained in:
parent
261ef836e0
commit
c1c39beaab
|
@ -26,6 +26,9 @@ module VagrantPlugins
|
|||
require File.expand_path("../../../fedora/cap/configure_networks", __FILE__)
|
||||
::VagrantPlugins::GuestFedora::Cap::ConfigureNetworks.
|
||||
configure_networks(machine, networks)
|
||||
|
||||
machine.communicate.sudo("systemctl restart NetworkManager")
|
||||
machine.communicate.sudo("systemctl restart network")
|
||||
end
|
||||
|
||||
def self.configure_networks_default(machine, networks)
|
||||
|
|
Loading…
Reference in New Issue