lib/vagrant-skytap/action.rb in vagrant-skytap-0.2.0 vs lib/vagrant-skytap/action.rb in vagrant-skytap-0.2.1

- old
+ new

@@ -182,9 +182,22 @@ end end end end + # This is the action that the default "vagrant up" invokes. + # Since we don't call action_up, this will only be called + # if the user attempts to install the Skytap provider using + # the --install-provider flag. + def self.action_up + Vagrant::Action::Builder.new.tap do |b| + b.use Message, "You are seeing this message because the Skytap "\ + "provider currently does not fully support the --install-provider "\ + "flag. The provider has been installed successfully. Please run " \ + "'vagrant up' again to continue." + end + end + # The Skytap provider has a modified "vagrant up" command which # takes advantage of parallel runstate operations on Skytap # environments. The create and update_hardware actions are # separated from the run_vm action, so we can pass in the ids # and initial states for all machines to be run, potentially