Class: Tenderloin::Actions::VM::Reload
- Defined in:
- lib/tenderloin/actions/vm/reload.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#cleanup, #execute!, #initialize, #rescue
Methods included from Util
#error_and_exit, included, #logger, #wrap_output
Constructor Details
This class inherits a constructor from Tenderloin::Actions::Base
Instance Method Details
#prepare ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/tenderloin/actions/vm/reload.rb', line 5 def prepare steps = [SharedFolders, Boot] steps.unshift(Halt) if @runner.fusion_vm.running? steps << Provision if Tenderloin.config.provisioning.enabled steps.each do |action_klass| @runner.add_action(action_klass) end end |