Class: VagrantPlugins::Parallels::Driver::PD_11
- Defined in:
- lib/vagrant-parallels/driver/pd_11.rb
Overview
Driver for Parallels Desktop 11.
Direct Known Subclasses
Instance Method Summary collapse
- #connect_network_interface(name) ⇒ Object
-
#initialize(uuid) ⇒ PD_11
constructor
A new instance of PD_11.
Methods inherited from Base
#clear_forwarded_ports, #clear_shared_folders, #clone_vm, #compact_hdd, #create_host_only_network, #create_snapshot, #delete, #delete_disabled_adapters, #delete_snapshot, #delete_unused_host_only_networks, #disable_password_restrictions, #enable_adapters, #execute_prlctl, #forward_ports, #halt, #list_snapshots, #read_bridged_interfaces, #read_forwarded_ports, #read_guest_ip_dhcp, #read_guest_ip_prlctl, #read_guest_tools_iso_path, #read_guest_tools_state, #read_host_info, #read_host_only_interfaces, #read_mac_address, #read_mac_addresses, #read_network_interfaces, #read_settings, #read_shared_folders, #read_shared_interface, #read_shared_network_id, #read_state, #read_used_ports, #read_virtual_networks, #read_vm_option, #read_vms, #read_vms_info, #register, #restore_snapshot, #resume, #set_name, #set_power_consumption_mode, #share_folders, #ssh_ip, #ssh_port, #start, #suspend, #unregister, #unshare_folders, #vm_exists?
Constructor Details
#initialize(uuid) ⇒ PD_11
Returns a new instance of PD_11.
12 13 14 15 16 |
# File 'lib/vagrant-parallels/driver/pd_11.rb', line 12 def initialize(uuid) super(uuid) @logger = Log4r::Logger.new('vagrant_parallels::driver::pd_11') end |
Instance Method Details
#connect_network_interface(name) ⇒ Object
18 19 20 |
# File 'lib/vagrant-parallels/driver/pd_11.rb', line 18 def connect_network_interface(name) execute_prlsrvctl('net', 'set', name, '--connect-host-to-net', 'on') end |