class Beaker::VagrantFusion
Public Class Methods
provider_vfile_section(host, options)
click to toggle source
# File lib/beaker/hypervisor/vagrant_fusion.rb, line 12 def self.provider_vfile_section(host, options) " v.vm.provider :vmware_fusion do |v|\n" + " v.vmx['memsize'] = '#{memsize(host, options)}'\n" + " end\n" end
Public Instance Methods
provision(provider = 'vmware_fusion')
click to toggle source
Calls superclass method
Beaker::Vagrant#provision
# File lib/beaker/hypervisor/vagrant_fusion.rb, line 4 def provision(provider = 'vmware_fusion') # By default vmware_fusion creates a .vagrant directory relative to the # Vagrantfile path. That means beaker tries to scp the VM to itself unless # we move the VM files elsewhere. ENV['VAGRANT_VMWARE_CLONE_DIRECTORY'] = '~/.vagrant/vmware_fusion' super end