Class: Veewee::Command::Kvm

Inherits:
GroupBase show all
Defined in:
lib/veewee/command/kvm.rb

Instance Attribute Summary

Attributes inherited from GroupBase

#env

Instance Method Summary collapse

Methods inherited from GroupBase

#copy, #define, #destroy, #halt, #initialize, #list, #ostypes, register, #sendkeys, #ssh, #templates, #undefine, #up, #winrm

Methods included from Helpers

#initialize_environment

Constructor Details

This class inherits a constructor from Veewee::Command::GroupBase

Instance Method Details

#build(box_name) ⇒ Object


24
25
26
# File 'lib/veewee/command/kvm.rb', line 24

def build(box_name)
  env.get_box(box_name).build(options)
end

#export(box_name) ⇒ Object


33
34
35
# File 'lib/veewee/command/kvm.rb', line 33

def export(box_name)
 env.get_box(box_name).export_vagrant(options)
end

#validate(box_name) ⇒ Object


39
40
41
# File 'lib/veewee/command/kvm.rb', line 39

def validate(box_name)
  env.get_box(box_name).validate_kvm(options)
end