Class: Beaker::VagrantParallels

Inherits:
Vagrant
  • Object
show all
Defined in:
lib/beaker/hypervisor/vagrant_parallels.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Vagrant

#cleanup, #configure, #connection_preference, cpus, #initialize, #make_vfile, memsize, #private_network_generator, #rand_chunk, #randip, #set_all_ssh_config, #set_ssh_config, #shell_provisioner_generator, #vagrant_cmd

Constructor Details

This class inherits a constructor from Beaker::Vagrant

Class Method Details

.provider_vfile_section(host, options) ⇒ Object



8
9
10
11
12
13
14
15
16
17
# File 'lib/beaker/hypervisor/vagrant_parallels.rb', line 8

def self.provider_vfile_section(host, options)
  provider_section  = ''
  provider_section << "    v.vm.provider :parallels do |prl|\n"
  provider_section << "      prl.optimize_power_consumption = false\n"
  provider_section << "      prl.memory = '#{memsize(host, options)}'\n"
  provider_section << "      prl.update_guest_tools = false\n" if options[:prl_update_guest_tools] == 'disable'
  provider_section << "    end\n"

  provider_section
end

Instance Method Details

#provision(provider = 'parallels') ⇒ Object



4
5
6
# File 'lib/beaker/hypervisor/vagrant_parallels.rb', line 4

def provision(provider = 'parallels')
  super
end