Renamed the terse option, `cores`, to to the less-terse version `cores_per_socket`.

This commit is contained in:
Ali Rizvi-Santiago 2019-01-17 10:38:19 -06:00
parent 4d3f9cc1af
commit 0c37a3c68f
2 changed files with 3 additions and 2 deletions

View File

@ -14,7 +14,7 @@ type HWConfig struct {
// cpu information // cpu information
CpuCount int `mapstructure:"cpus"` CpuCount int `mapstructure:"cpus"`
MemorySize int `mapstructure:"memory"` MemorySize int `mapstructure:"memory"`
CoreCount int `mapstructure:"cores"` CoreCount int `mapstructure:"cores_per_socket"`
// network type and adapter // network type and adapter
Network string `mapstructure:"network"` Network string `mapstructure:"network"`

View File

@ -100,7 +100,8 @@ builder.
- `cpus` (number) - The number of cpus to use when building the VM. - `cpus` (number) - The number of cpus to use when building the VM.
- `cores` (number) - The number of cores per socket to use when building the VM. - `cores_per_socket` (number) - The number of cores per socket to use when
building the VM.
- `cdrom_adapter_type` (string) - The adapter type (or bus) that will be used - `cdrom_adapter_type` (string) - The adapter type (or bus) that will be used
by the cdrom device. This is chosen by default based on the disk adapter by the cdrom device. This is chosen by default based on the disk adapter