Skip to content

Instantly share code, notes, and snippets.

@bepcyc
Last active August 29, 2015 14:23
Show Gist options
  • Select an option

  • Save bepcyc/03c09a04647ea0712564 to your computer and use it in GitHub Desktop.

Select an option

Save bepcyc/03c09a04647ea0712564 to your computer and use it in GitHub Desktop.
# set 8 cores and 6GB of RAM
Vagrant.configure(2) do |config|
config.vm.define "myvm" do |master|
master.vm.provider :virtualbox do |v|
v.customize ["modifyvm", :id, "--ioapic", "on"] # this one is important for setting cores
v.customize ["modifyvm", :id, "--cpus", 8]
v.customize ["modifyvm", :id, "--memory", 6144]
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment