guests/bsd: Do not use -h to shutdown
This commit is contained in:
parent
bbcddb6499
commit
5a372a9942
|
@ -4,7 +4,7 @@ module VagrantPlugins
|
|||
class Halt
|
||||
def self.halt(machine)
|
||||
begin
|
||||
machine.communicate.sudo("/sbin/shutdown -p -h now", shell: "sh")
|
||||
machine.communicate.sudo("/sbin/shutdown -p now", shell: "sh")
|
||||
rescue IOError
|
||||
# Do nothing, because it probably means the machine shut down
|
||||
# and SSH connection was lost.
|
||||
|
|
Loading…
Reference in New Issue