Skip to content

Instantly share code, notes, and snippets.

@smacleod
Forked from lvwrence/Vagrantfile
Last active August 29, 2015 14:01
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 smacleod/6f38e80a5098bec8b450 to your computer and use it in GitHub Desktop.
Save smacleod/6f38e80a5098bec8b450 to your computer and use it in GitHub Desktop.
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "markusproject/debian"
config.vm.network "forwarded_port", guest: 3000, host: 42069
config.vm.provider "virtualbox" do |vb|
# Don't boot with headless mode
# vb.gui = true
vb.name = "markus"
# Up the ram
# vb.memory = 1024
# MOAR CPUs!
# vb.cpus = 2
# This caps CPU usage at 50% of host, you can adjust
# vb.customize ["modifyvm", :id, "--cpuexecutioncap", "50"]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment