Sleep less time while waiting for the VM to boot
This commit is contained in:
parent
dc4bf530fb
commit
b1627ca41b
|
@ -13,6 +13,7 @@ module Vagrant
|
||||||
# Start up the VM and wait for it to boot.
|
# Start up the VM and wait for it to boot.
|
||||||
boot
|
boot
|
||||||
raise Errors::VMFailedToBoot if !wait_for_boot
|
raise Errors::VMFailedToBoot if !wait_for_boot
|
||||||
|
|
||||||
@app.call(env)
|
@app.call(env)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -34,7 +35,7 @@ module Vagrant
|
||||||
# get shown
|
# get shown
|
||||||
return true if @env.interrupted?
|
return true if @env.interrupted?
|
||||||
|
|
||||||
sleep 5 if !@env["vagrant.test"]
|
sleep 2 if !@env["vagrant.test"]
|
||||||
end
|
end
|
||||||
|
|
||||||
@env.ui.error I18n.t("vagrant.actions.vm.boot.failed")
|
@env.ui.error I18n.t("vagrant.actions.vm.boot.failed")
|
||||||
|
|
Loading…
Reference in New Issue