added general restart for network - to prevent IP address dropping on interfaces
This commit is contained in:
parent
1c4e7ee068
commit
2e723ea308
|
@ -50,6 +50,11 @@ module VagrantPlugins
|
|||
EOH
|
||||
end
|
||||
|
||||
commands << <<-EOH.gsub(/^ {14}/, '')
|
||||
# Restart network
|
||||
service network restart
|
||||
EOH
|
||||
|
||||
comm.sudo(commands.join("\n"))
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue