Skip to content

Instantly share code, notes, and snippets.

@andyfowler
Created October 4, 2011 19:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andyfowler/1262509 to your computer and use it in GitHub Desktop.
Save andyfowler/1262509 to your computer and use it in GitHub Desktop.
cpu_count in Vagrant
Vagrant::Config.run do |config|
config.vm.box = "natty"
config.vm.customize do |vm|
vm.memory_size = 2048
vm.cpu_count = 2 # this.
end
config.vm.share_folder 'aptcache', '/var/cache/apt', '/var/cache/apt' # and this
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment