From d2b0df0a7d3f63eaeca81585edb81f9d9be7f83f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Br=C3=A6khus?= Date: Fri, 17 Jul 2015 21:44:58 +0200 Subject: [PATCH] Specify time and don't do -h -H which is not really a valid usage. --- plugins/guests/debian8/cap/halt.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/guests/debian8/cap/halt.rb b/plugins/guests/debian8/cap/halt.rb index 932281347..b2e5a141b 100644 --- a/plugins/guests/debian8/cap/halt.rb +++ b/plugins/guests/debian8/cap/halt.rb @@ -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.