mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-06-09 00:32:06 -04:00
Reload sleeps 1 sec after halt to avoid FFI exception
This commit is contained in:
parent
28eb56b9f8
commit
ec90382efe
1 changed files with 7 additions and 0 deletions
|
|
@ -11,6 +11,13 @@ module Vagrant
|
|||
@runner.add_action(action_klass)
|
||||
end
|
||||
end
|
||||
|
||||
def after_halt
|
||||
# This sleep is here to allow the VM to clean itself up. There appears
|
||||
# nothing [obvious] in the VirtualBox API to automate this. For now, this
|
||||
# is an interim solution.
|
||||
sleep 1
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue