Sha256: d7c457e9ef2ae890455a5acc82bcc3b7f0542b922bcb98fcd164c59cf3e3db01

Contents?: true

Size: 614 Bytes

Versions: 17

Compression:

Stored size: 614 Bytes

Contents

require 'beaker/hypervisor/vagrant'

class Beaker::VagrantParallels < Beaker::Vagrant
  def provision(provider = 'parallels')
    super
  end

  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
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
beaker-vagrant-0.7.1 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-vagrant-0.7.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-vagrant-0.6.7 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-vagrant-0.6.6 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-vagrant-0.6.5 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-vagrant-0.6.4 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-vagrant-0.6.3 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-vagrant-0.6.2 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-vagrant-0.6.1 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-vagrant-0.6.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-vagrant-0.5.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-vagrant-0.4.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-vagrant-0.3.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-vagrant-0.2.1 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-vagrant-0.2.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-vagrant-0.1.1 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-vagrant-0.1.0 lib/beaker/hypervisor/vagrant_parallels.rb