Vagrantfile: Limit CPU count to 32 for VirtualBox hosts.

VirtualBox can present up to 32 virtual CPUs to each virtual machine,
which is less than detected on some processors.
This commit is contained in:
C.R. Kirkwood-Watts 2020-03-27 16:29:11 -07:00 committed by Andrew Eikum
parent aaeb4445f3
commit 8f422a153d

2
Vagrantfile vendored
View file

@ -44,7 +44,7 @@ Vagrant.configure(2) do |config|
config.vagrant.plugins = "vagrant-sshfs"
config.vm.provider "virtualbox" do |v|
v.cpus = cpus
v.cpus = [cpus, 32].min # virtualbox limit is 32 cpus
v.memory = memory
end