The hook callable has to be an Action builder so the hooks are called
This commit is contained in:
parent
29600d3d06
commit
3b2a82003e
|
@ -245,7 +245,7 @@ module Vagrant
|
|||
# @param [Symbol] name Name of the hook.
|
||||
def hook(name)
|
||||
@logger.info("Running hook: #{name}")
|
||||
callable = Proc.new {}
|
||||
callable = Action::Builder.new
|
||||
action_runner.run(callable, :action_name => name)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue