guests/bsd: Do not use -h to shutdown

This commit is contained in:
Seth Vargo 2016-06-22 18:31:57 -07:00
parent bbcddb6499
commit 5a372a9942
No known key found for this signature in database
GPG Key ID: 905A90C2949E8787
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("/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.