Class: Wakame::Command::LaunchVm

Inherits:
Object
  • Object
show all
Includes:
Wakame::Command
Defined in:
lib/wakame/command/launch_vm.rb

Instance Method Summary collapse

Methods included from Wakame::Command

included, #options=, #params

Instance Method Details

#runObject



7
8
9
10
# File 'lib/wakame/command/launch_vm.rb', line 7

def run
  inst_id_key = "new_inst_id_" + Wakame::Util.gen_id
  trigger_action(Wakame::Actions::LaunchVM.new(inst_id_key))
end