Specify time and don't do -h -H which is not really a valid usage.

This commit is contained in:
Denis Brækhus 2015-07-17 21:44:58 +02:00
parent 78ea5e4a78
commit d2b0df0a7d
1 changed files with 1 additions and 1 deletions

View File

@ -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.