Class: Vagrant::Actions::VM::Start
- Defined in:
- lib/vagrant/actions/vm/start.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#cleanup, #execute!, #follows, #initialize, #precedes, #rescue
Methods included from Util
#error_and_exit, included, #logger, #wrap_output
Constructor Details
This class inherits a constructor from Vagrant::Actions::Base
Instance Method Details
#prepare ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/vagrant/actions/vm/start.rb', line 5 def prepare # Start is a "meta-action" so it really just queues up a bunch # of other actions in its place: steps = [ForwardPorts, SharedFolders, Boot] steps.unshift(Customize) unless @runner.vm.saved? steps.each do |action_klass| @runner.add_action(action_klass) end end |