Method: Fission::VM#start
- Defined in:
- lib/fission/vm.rb
#start(options = {}) ⇒ Object
Public: Starts a VM. The VM must not be running in order to start it.
options - Hash of options:
:headless - Boolean which specifies to start the VM without a
GUI console. The Fusion GUI must not be running in
order to start the VM headless.
(default: false)
Examples
@vm.start
@vm.start :headless => true
Returns a Response with the result. If successful, the Response’s data attribute will be nil. If there is an error, an unsuccessful Response will be returned.
112 113 114 |
# File 'lib/fission/vm.rb', line 112 def start(={}) Fission::Action::VM::Starter.new(self).start() end |