Class: Beaker::VagrantCustom

Inherits:
Vagrant
  • Object
show all
Defined in:
lib/beaker/hypervisor/vagrant_custom.rb

Instance Method Summary collapse

Methods inherited from Vagrant

#cleanup, #configure, #connection_preference, cpus, #initialize, memsize, #private_network_generator, provider_vfile_section, #rand_chunk, #randip, #set_all_ssh_config, #set_ssh_config, #shell_provisioner_generator, #vagrant_cmd

Constructor Details

This class inherits a constructor from Beaker::Vagrant

Instance Method Details

#make_vfile(_hosts, _options = {}) ⇒ Object



8
9
10
11
# File 'lib/beaker/hypervisor/vagrant_custom.rb', line 8

def make_vfile(_hosts, _options = {})
  FileUtils.mkdir_p(@vagrant_path)
  FileUtils.cp(@options[:vagrantfile_path], @vagrant_file)
end

#provision(provider = nil) ⇒ Object



4
5
6
# File 'lib/beaker/hypervisor/vagrant_custom.rb', line 4

def provision(provider = nil)
  super
end