Closed Trophime closed 6 years ago
Thanks for your feedback. I guess the goal was to prevent using too much resources from the host system. Maybe we should just set it to 1.
cpus = [cpus /2, 1].max
would do the trick?
do you meam [].max ? Since it can be between 0 and 1.
it should return either cpus/2 or 1...
it seems to work for me cpus = [cpus /2, 1].max
Great just push some changes to fix it...
Thanks for your feedback...
When trying to create a VM using vagrant, there is a problem on machines with only 1 cpu. Indeed in VagranFile
cpus = cpus / 2
will return0
which seems to be problematic forvagrant