Class: Veewee::Provider::Virtualbox::Box

Inherits:
Core::Box
  • Object
show all
Includes:
BoxCommand
Defined in:
lib/veewee/provider/virtualbox/box.rb

Constant Summary

Constants included from BoxCommand

Veewee::Provider::Virtualbox::BoxCommand::UNSYNCED_VERSIONS

Instance Attribute Summary

Attributes inherited from Core::Box

#definition, #env, #name, #provider

Instance Method Summary collapse

Methods included from BoxCommand

#add_floppy_controller, #add_ide_controller, #add_sata_controller, #add_shared_folder, #add_ssh_nat_mapping, #add_winrm_nat_mapping, #attach_disk_common, #attach_disk_ide, #attach_disk_sata, #attach_floppy, #attach_guest_additions, #attach_isofile, #attach_serial_console, #build, #build_info, #console_type, #create, #create_disk, #create_vm, #delete_forwarding, #destroy, #download_vbox_guest_additions_iso, #exists?, #export_vagrant, #forwarding, #get_vbox_home, #halt, #host_ip_as_seen_by_guest, #ip_address, #natinterface, #poweroff, #running?, #screenshot, #send_keycode, #send_virtualbox_sequence, #ssh, #ssh_options, #suppress_messages, #transfer_buildinfo, #up, #validate_vagrant, #vbox_os_type_id, #vbox_version, #vboxga_version, #winrm, #winrm_options

Methods inherited from Core::Box

#gem_available?, #reload, #set_definition, #ui

Methods included from Core::BoxCommand

#build, #build_info, #copy_to_box, #create_floppy, #create_wget_vbs_command, #escape_and_echo, #exec, #fill_sequence, #filter_postinstall_files, #halt, #handle_kickstart, #handle_postinstall, #issh, #poweroff, #scp, #send_vnc_keycode, #ssh, #ssh_command_string, #string_to_vnccode, #sudo, #transfer_buildinfo, #validate_postinstall_regex, #validate_tags, #vnc_type, #wget_vbs, #wget_vbs_file, #wincp, #winrm, #winrm_command_string

Methods included from Core::Helper::Iso

#download_iso, #download_progress, #hashsum, #verify_iso, #verify_sum

Methods included from Core::Helper::Comm

#comm_execute, #comm_method, #comm_transfer_file, #when_comm_login_works

Methods included from Core::Helper::Ssh

#ssh_execute, #ssh_transfer_file, #when_ssh_login_works

Methods included from Core::Helper::Shell

#shell_exec

Methods included from Core::Helper::Web

#allow_for_http_request, #server_for_http_request, #wait_for_http_request

Methods included from Core::Helper::Tcp

#execute_when_tcp_available, #get_local_ip, #guess_free_port, #host_ip_as_seen_by_guest, #is_tcp_port_open?

Constructor Details

#initialize(name, env) ⇒ Box

Returns a new instance of Box.



32
33
34
35
36
37
38
# File 'lib/veewee/provider/virtualbox/box.rb', line 32

def initialize(name,env)

  #require 'virtualbox'
  @vboxcmd=determine_vboxcmd
  super(name,env)

end

Instance Method Details

#determine_vboxcmdObject



40
41
42
# File 'lib/veewee/provider/virtualbox/box.rb', line 40

def determine_vboxcmd
  return "VBoxManage"
end