core: allow env access in plugin loaded middleware

This commit is contained in:
Mitchell Hashimoto 2013-11-23 16:40:19 -08:00
parent 49b14114a2
commit 3cdc0ef445
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ module Vagrant
# Call the hooks that does not require configurations to be loaded
# by using a "clean" action runner
hook(:environment_plugins_loaded, Action::Runner.new)
hook(:environment_plugins_loaded, Action::Runner.new(env: self))
# Call the environment load hooks
hook(:environment_load)