Class: Veewee::Command::Fusion

Inherits:
GroupBase show all
Defined in:
lib/veewee/command/fusion.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

#add_share(box_name, share_name, share_path) ⇒ Object



40
41
42
43
44
# File 'lib/veewee/command/fusion.rb', line 40

def add_share(box_name, share_name, share_path)
#          command="#{File.dirname().shellescape}/vmware-vdiskmanager -c -s #{definition.disk_size}M -a lsilogic -t #{disk_type} #{name}.vmdk"
#          shell_results=shell_exec("#{command}",{:mute => true})
  env.get_box(box_name).add_share(share_name, share_path)
end

#build(box_name) ⇒ Object



22
23
24
# File 'lib/veewee/command/fusion.rb', line 22

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

#export(box_name) ⇒ Object



35
36
37
# File 'lib/veewee/command/fusion.rb', line 35

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

#validate(box_name) ⇒ Object



28
29
30
# File 'lib/veewee/command/fusion.rb', line 28

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