Created
February 11, 2013 03:35
-
-
Save duncan-bayne/4752329 to your computer and use it in GitHub Desktop.
Vagrantfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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