Sha256: 295d47a867d3745adb73eb8d2a88d6b5370c415ffdf9b6c1683edf5c74e168cb

Contents?: true

Size: 704 Bytes

Versions: 5

Compression:

Stored size: 704 Bytes

Contents

Vagrant.configure("2") do |config|
  config.vm.box = "<%= node[:vagrant][:box] %>"

  <% if node[:vagrant][:ssh_username] %>
  config.ssh.username = "<%= node[:vagrant][:ssh_username] %>"
  <% end %>

  <% if node[:vagrant][:ssh_private_key_path] %>
  config.ssh.private_key_path = "<%= node[:vagrant][:ssh_private_key_path] %>"
  <% end %>

  config.vm.synced_folder ".", "/vagrant", :id => "vagrant-root", :disabled => true

  config.vm.provider :virtualbox do |virtualbox, override|
    override.vm.base_mac = "<%= node[:vagrant][:base_mac] %>"
    virtualbox.customize [ "modifyvm", :id, "--memory", "1024" ]
    virtualbox.customize [ "modifyvm", :id, "--cpus", "2" ]
  end
end

# vi: set ft=ruby :

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tvd-vagrant-0.0.24 cookbooks/vagrant/templates/default/Vagrantfile.virtualbox.erb
tvd-vagrant-0.0.23 cookbooks/vagrant/templates/default/Vagrantfile.virtualbox.erb
tvd-vagrant-0.0.22 cookbooks/vagrant/templates/default/Vagrantfile.virtualbox.erb
tvd-vagrant-0.0.21 cookbooks/vagrant/templates/default/Vagrantfile.virtualbox.erb
tvd-vagrant-0.0.19 cookbooks/vagrant/templates/default/Vagrantfile.virtualbox.erb