lib/vagrant-norequiretty/plugin.rb in vagrant-norequiretty-0.0.3 vs lib/vagrant-norequiretty/plugin.rb in vagrant-norequiretty-0.0.4

- old
+ new

@@ -12,13 +12,18 @@ action_hook('Disable requiretty') do |hook| require_relative 'action' action = VagrantNoRequireTTY::Action - # For RSync. + # For RSync and provisioners. hook.after(Vagrant::Action::Builtin::SyncedFolders, action) + # For vagrant-openstack-provider if defined? VagrantPlugins::Openstack::Action::SyncFolders hook.after(VagrantPlugins::Openstack::Action::SyncFolders, action) + end + # For vagrant-openstack-plugin + if defined? VagrantPlugins::OpenStack::Action::CreateNetworkInterfaces + hook.before(VagrantPlugins::OpenStack::Action::CreateNetworkInterfaces, action) end end # For everything else. action_hook('Disable requiretty on shutdown', :machine_action_halt) do |hook|