Use the env["key"] style instead of env.env.key

This commit is contained in:
Mitchell Hashimoto 2011-01-09 12:35:48 -08:00
parent b9463de5b9
commit dc4bf530fb
1 changed files with 1 additions and 1 deletions

View File

@ -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