Use the env["key"] style instead of env.env.key
This commit is contained in:
parent
b9463de5b9
commit
dc4bf530fb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue