Specify action_name for all machine actions for action hooks

This commit is contained in:
Mitchell Hashimoto 2013-02-22 12:14:15 -08:00
parent be01d57034
commit c68bf33d66
1 changed files with 1 additions and 0 deletions

View File

@ -121,6 +121,7 @@ module Vagrant
# Run the action with the action runner on the environment
env = {
:action_name => "machine_action_#{name}".to_sym,
:machine => self,
:machine_action => name,
:ui => @env.ui_class.new(@name)