Specify time and don't do -h -H which is not really a valid usage.
This commit is contained in:
parent
78ea5e4a78
commit
d2b0df0a7d
|
@ -4,7 +4,7 @@ module VagrantPlugins
|
|||
class Halt
|
||||
def self.halt(machine)
|
||||
begin
|
||||
machine.communicate.sudo("shutdown -h -H")
|
||||
machine.communicate.sudo("shutdown -h now")
|
||||
rescue IOError
|
||||
# Do nothing, because it probably means the machine shut down
|
||||
# and SSH connection was lost.
|
||||
|
|
Loading…
Reference in New Issue