Last Updated: February 25, 2016
·
680
· jan0sch

Vagrant, Virtualbox, 32bit systems and more than one cpu

If you spin up a 32bit guest system within vagrant using the virtualbox provider, setting the number of cpus is not enough. Meaning that the following won't do:

config.vm.provider "virtualbox" do |vb|
  vb.cpus = 2
end

You'll have to enable ioapic additionally.

config.vm.provider "virtualbox" do |vb|
  vb.customize ["modifyvm", :id, "--ioapic", "on"]
  vb.cpus = 2
end