mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-14 15:48:11 +03:00
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
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…
x
Reference in New Issue
Block a user