From dc4bf530fbfe9780ce22fa3f24be67ae1d7db9ec Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 9 Jan 2011 12:35:48 -0800 Subject: [PATCH] Use the env["key"] style instead of env.env.key --- lib/vagrant/action/vm/boot.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/action/vm/boot.rb b/lib/vagrant/action/vm/boot.rb index a55eafdd1..f05aa39cc 100644 --- a/lib/vagrant/action/vm/boot.rb +++ b/lib/vagrant/action/vm/boot.rb @@ -24,7 +24,7 @@ module Vagrant def wait_for_boot @env.ui.info I18n.t("vagrant.actions.vm.boot.waiting") - @env.env.config.ssh.max_tries.to_i.times do |i| + @env["config"].ssh.max_tries.to_i.times do |i| if @env["vm"].ssh.up? @env.ui.info I18n.t("vagrant.actions.vm.boot.ready") return true