From 0c37a3c68fd859fd97ce645210d8bb4b19ae96dc Mon Sep 17 00:00:00 2001 From: Ali Rizvi-Santiago Date: Thu, 17 Jan 2019 10:38:19 -0600 Subject: [PATCH] Renamed the terse option, `cores`, to to the less-terse version `cores_per_socket`. --- builder/vmware/common/hw_config.go | 2 +- website/source/docs/builders/vmware-iso.html.md.erb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/builder/vmware/common/hw_config.go b/builder/vmware/common/hw_config.go index 588d295f1..eb3ed46c2 100644 --- a/builder/vmware/common/hw_config.go +++ b/builder/vmware/common/hw_config.go @@ -14,7 +14,7 @@ type HWConfig struct { // cpu information CpuCount int `mapstructure:"cpus"` MemorySize int `mapstructure:"memory"` - CoreCount int `mapstructure:"cores"` + CoreCount int `mapstructure:"cores_per_socket"` // network type and adapter Network string `mapstructure:"network"` diff --git a/website/source/docs/builders/vmware-iso.html.md.erb b/website/source/docs/builders/vmware-iso.html.md.erb index 180af5c08..e7ecb350d 100644 --- a/website/source/docs/builders/vmware-iso.html.md.erb +++ b/website/source/docs/builders/vmware-iso.html.md.erb @@ -100,7 +100,8 @@ builder. - `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 by the cdrom device. This is chosen by default based on the disk adapter