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:
Mitchell Hashimoto 2015-11-18 11:02:43 -08:00
commit d0ad747914
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ module VagrantPlugins
class Halt class Halt
def self.halt(machine) def self.halt(machine)
begin begin
machine.communicate.sudo("shutdown -h -H") machine.communicate.sudo("shutdown -h now")
rescue IOError rescue IOError
# Do nothing, because it probably means the machine shut down # Do nothing, because it probably means the machine shut down
# and SSH connection was lost. # and SSH connection was lost.