Merge pull request #5986 from denisbr/master
Specify time and don't do -h -H which is not really a valid usage.
This commit is contained in:
commit
d0ad747914
|
@ -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