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:
parent
aaeb4445f3
commit
8f422a153d
1 changed files with 1 additions and 1 deletions
2
Vagrantfile
vendored
2
Vagrantfile
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue