Linux shutdown state checking no longer requires the force param. Its default
This commit is contained in:
parent
ba7ab66239
commit
822a5e3154
|
@ -38,7 +38,7 @@ module Vagrant
|
||||||
# occur within a reasonable amount of time (15 seconds by default),
|
# occur within a reasonable amount of time (15 seconds by default),
|
||||||
# then simply return and allow Vagrant to kill the machine.
|
# then simply return and allow Vagrant to kill the machine.
|
||||||
count = 0
|
count = 0
|
||||||
while vm.vm.state(true) != :powered_off
|
while vm.vm.state != :powered_off
|
||||||
count += 1
|
count += 1
|
||||||
|
|
||||||
return if count >= vm.env.config.linux.halt_timeout
|
return if count >= vm.env.config.linux.halt_timeout
|
||||||
|
|
Loading…
Reference in New Issue