Sha256: 02fc2f1ec1f93539340de64b9c78a6ea0fbaf1a6f86579003e6eb42b82a325b1

Contents?: true

Size: 600 Bytes

Versions: 21

Compression:

Stored size: 600 Bytes

Contents

require 'beaker/hypervisor/vagrant'

class Beaker::VagrantFusion < Beaker::Vagrant
  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

  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
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
beaker-vagrant-1.3.0 lib/beaker/hypervisor/vagrant_fusion.rb
beaker-vagrant-1.2.0 lib/beaker/hypervisor/vagrant_fusion.rb
beaker-vagrant-1.1.0 lib/beaker/hypervisor/vagrant_fusion.rb
beaker-vagrant-1.0.0 lib/beaker/hypervisor/vagrant_fusion.rb
beaker-vagrant-0.7.1 lib/beaker/hypervisor/vagrant_fusion.rb
beaker-vagrant-0.7.0 lib/beaker/hypervisor/vagrant_fusion.rb
beaker-vagrant-0.6.7 lib/beaker/hypervisor/vagrant_fusion.rb
beaker-vagrant-0.6.6 lib/beaker/hypervisor/vagrant_fusion.rb
beaker-vagrant-0.6.5 lib/beaker/hypervisor/vagrant_fusion.rb
beaker-vagrant-0.6.4 lib/beaker/hypervisor/vagrant_fusion.rb
beaker-vagrant-0.6.3 lib/beaker/hypervisor/vagrant_fusion.rb
beaker-vagrant-0.6.2 lib/beaker/hypervisor/vagrant_fusion.rb
beaker-vagrant-0.6.1 lib/beaker/hypervisor/vagrant_fusion.rb
beaker-vagrant-0.6.0 lib/beaker/hypervisor/vagrant_fusion.rb
beaker-vagrant-0.5.0 lib/beaker/hypervisor/vagrant_fusion.rb
beaker-vagrant-0.4.0 lib/beaker/hypervisor/vagrant_fusion.rb
beaker-vagrant-0.3.0 lib/beaker/hypervisor/vagrant_fusion.rb
beaker-vagrant-0.2.1 lib/beaker/hypervisor/vagrant_fusion.rb
beaker-vagrant-0.2.0 lib/beaker/hypervisor/vagrant_fusion.rb
beaker-vagrant-0.1.1 lib/beaker/hypervisor/vagrant_fusion.rb