Sha256: 4efc3f8c98c7da2bf508b13869bfa5e023d57b82973a0f4db45c73542146a833

Contents?: true

Size: 670 Bytes

Versions: 70

Compression:

Stored size: 670 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 = '#{options['vagrant_memsize'] ||= '1024'}'\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

70 entries across 70 versions & 1 rubygems

Version Path
beaker-2.10.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-2.9.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-2.8.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-2.7.1 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-2.7.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-2.6.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-2.5.1 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-2.5.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-2.4.1 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-2.4.0 lib/beaker/hypervisor/vagrant_parallels.rb