Sha256: e54b529a76a09eae5678210a943fe99afe077b6fe192440fdace90af7ec0d100
Contents?: true
Size: 984 Bytes
Versions: 4
Compression:
Stored size: 984 Bytes
Contents
require 'beaker/hypervisor/vagrant' class Beaker::VagrantWorkstation < Beaker::Vagrant def provision(provider = 'vmware_workstation') super end def self.provider_vfile_section(host, options) v_provider = " v.vm.provider :vmware_workstation do |v|\n" v_provider << " v.vmx['gui'] = true\n" if host['gui'] == true v_provider << " v.vmx['memsize'] = '#{memsize(host, options)}'\n" unless host['whitelist_verified'].nil? v_provider << " v.vmx['whitelist_verified'] = '#{host['whitelist_verified']}'\n" end v_provider << " v.vmx['functional_hgfs'] = '#{host['functional_hgfs']}'\n" unless host['functional_hgfs'].nil? unless host['unmount_default_hgfs'].nil? v_provider << " v.vmx['unmount_default_hgfs'] = '#{host['unmount_default_hgfs']}'\n" end v_provider << " v.vmx['utility_port'] = '#{host['utility_port']}'\n" unless host['utility_port'].nil? v_provider << " end\n" end end
Version data entries
4 entries across 4 versions & 1 rubygems