Class Fission::Action::VM::Starter
In: lib/fission/action/vm/starter.rb
Parent: Object

Methods

new   start  

Public Class methods

Internal: Creates a new VMStarter object. This accepts a VM object.

vm - An instance of VM

Examples:

  Fission::Action::VMStarter.new @my_vm

Returns a new VMStarter object

Public Instance methods

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_starter.start

  @vm_starter.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.

[Validate]