lib/vagrant-norequiretty/plugin.rb in vagrant-norequiretty-0.0.2 vs lib/vagrant-norequiretty/plugin.rb in vagrant-norequiretty-0.0.3
- old
+ new
@@ -14,9 +14,12 @@
require_relative 'action'
action = VagrantNoRequireTTY::Action
# For RSync.
hook.after(Vagrant::Action::Builtin::SyncedFolders, action)
+ if defined? VagrantPlugins::Openstack::Action::SyncFolders
+ hook.after(VagrantPlugins::Openstack::Action::SyncFolders, action)
+ end
end
# For everything else.
action_hook('Disable requiretty on shutdown', :machine_action_halt) do |hook|
require_relative 'action'