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-3.6.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-2.52.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-3.5.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-3.4.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-3.3.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-3.2.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-3.1.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-3.0.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-2.51.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-2.50.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-2.49.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-2.48.1 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-2.48.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-2.47.1 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-2.47.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-2.46.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-2.45.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-2.44.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-2.43.0 lib/beaker/hypervisor/vagrant_parallels.rb
beaker-2.42.0 lib/beaker/hypervisor/vagrant_parallels.rb