Reload sleeps 1 sec after halt to avoid FFI exception
This commit is contained in:
parent
28eb56b9f8
commit
ec90382efe
|
@ -11,6 +11,13 @@ module Vagrant
|
||||||
@runner.add_action(action_klass)
|
@runner.add_action(action_klass)
|
||||||
end
|
end
|
||||||
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
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue