Skip to content

Instantly share code, notes, and snippets.

@duncan-bayne
Created February 11, 2013 03:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save duncan-bayne/4752329 to your computer and use it in GitHub Desktop.
Save duncan-bayne/4752329 to your computer and use it in GitHub Desktop.
Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
config.vm.box = "atlas-dev-precise64-#{`hostname`.strip}"
config.vm.host_name = "atlas-dev-precise64-#{`hostname`.strip}"
config.vm.box_url = 'http://files.vagrantup.com/precise64.box'
config.vm.boot_mode = :gui
config.vm.network :bridged
config.ssh.forward_x11 = true
config.vm.provision :chef_client do |chef|
chef.chef_server_url = 'http://XXXXX/'
chef.validation_key_path = 'validation.pem'
chef.validation_client_name = 'chef-validator'
chef.add_role('vagrant_atlas_dev')
end
config.vm.share_folder 'vagrant_home', '/home/vagrant', './vagrant_home'
config.vm.customize ['modifyvm', :id, '--memory', 4096]
config.vm.customize ['modifyvm', :id, '--vram', 32]
config.vm.customize ['modifyvm', :id, '--accelerate3d', 'on']
config.vm.customize ['modifyvm', :id, '--cpus', 4]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment