From b1627ca41b6a84ba12b27b56eac900b40693cfcb Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 9 Jan 2011 12:48:21 -0800 Subject: [PATCH] Sleep less time while waiting for the VM to boot --- lib/vagrant/action/vm/boot.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/vagrant/action/vm/boot.rb b/lib/vagrant/action/vm/boot.rb index f05aa39cc..1329b974d 100644 --- a/lib/vagrant/action/vm/boot.rb +++ b/lib/vagrant/action/vm/boot.rb @@ -13,6 +13,7 @@ module Vagrant # Start up the VM and wait for it to boot. boot raise Errors::VMFailedToBoot if !wait_for_boot + @app.call(env) end @@ -34,7 +35,7 @@ module Vagrant # get shown return true if @env.interrupted? - sleep 5 if !@env["vagrant.test"] + sleep 2 if !@env["vagrant.test"] end @env.ui.error I18n.t("vagrant.actions.vm.boot.failed")