Clean up plugin.rb
This commit is contained in:
parent
6a8926d04a
commit
07d34726e2
1 changed files with 3 additions and 3 deletions
|
@ -63,10 +63,10 @@ module VagrantPlugins
|
|||
|
||||
clean_action_hook = lambda do |hook|
|
||||
require_relative 'action/clean'
|
||||
hook.before Vagrant::Action::Builtin::GracefulHalt, VagrantPlugins::Cachier::Action::Clean
|
||||
hook.before Vagrant::Action::Builtin::GracefulHalt, Action::Clean
|
||||
end
|
||||
action_hook 'remove-guest-symlinks-on-machine-halt', :machine_action_halt, &clean_action_hook
|
||||
action_hook 'remove-guest-symlinks-on-machine-package', :machine_action_package, &clean_action_hook
|
||||
action_hook 'remove-guest-symlinks-on-halt', :machine_action_halt, &clean_action_hook
|
||||
action_hook 'remove-guest-symlinks-on-package', :machine_action_package, &clean_action_hook
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue