Merge pull request #9842 from jason-azze/patch-1

Builders vsphere-iso and vsphere-clone - CPUs is actually for cores, not sockets.
This commit is contained in:
Megan Marsh 2020-09-09 16:03:45 -07:00 committed by GitHub
commit 8ffa0d2060
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ import (
)
type HardwareConfig struct {
// Number of CPU sockets.
// Number of CPU cores.
CPUs int32 `mapstructure:"CPUs"`
// Number of CPU cores per socket.
CpuCores int32 `mapstructure:"cpu_cores"`

View File

@ -1,6 +1,6 @@
<!-- Code generated from the comments of the HardwareConfig struct in builder/vsphere/common/step_hardware.go; DO NOT EDIT MANUALLY -->
- `CPUs` (int32) - Number of CPU sockets.
- `CPUs` (int32) - Number of CPU cores.
- `cpu_cores` (int32) - Number of CPU cores per socket.