mirror of https://github.com/hashicorp/packer
I've tested the behavior of CPUs and cpu_cores against both vSphere 5.5 and 6.7. In both cases, CPUs gives you virtual cores, not sockets. For example, I want 6 cores per socket across 2 sockets for 12 total cores. Based on the wording of this doc, I set CPUs to 2 and cpu_cores to 6. The documentation implies that will give me 2 sockets with 6 cores each. The actual behavior is you get 2 cores, and when you crack open the VMs configuration, you see that cores per socket is set to 6 -- which is meaningless. Setting CPUs to 12 and cpu_cores to 6 gives me what I wanted. So the wording I propose is ``` - `CPUs` (int32) - Number of CPU cores. ```pull/9842/head
parent
c4b039391a
commit
9156563314
Loading…
Reference in new issue