From c7149c62049201ae17826fda4b95a419c4904e86 Mon Sep 17 00:00:00 2001 From: pommetjehorlepiep Date: Mon, 5 Aug 2019 12:15:19 +1000 Subject: [PATCH] Optional configuration key 'cpu' incorrect. Needs to be 'cpus' Corrected incorrect configuration key name 'cpu' to 'cpus'. --- website/source/docs/builders/hyperv-vmcx.html.md.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/source/docs/builders/hyperv-vmcx.html.md.erb b/website/source/docs/builders/hyperv-vmcx.html.md.erb index f0ec9de2a..726d0a2c1 100644 --- a/website/source/docs/builders/hyperv-vmcx.html.md.erb +++ b/website/source/docs/builders/hyperv-vmcx.html.md.erb @@ -134,7 +134,7 @@ builder. - `configuration_version` (string) - This allows you to set the vm version when calling New-VM to generate the vm. -- `cpu` (number) - The number of CPUs the virtual machine should use. If +- `cpus` (number) - The number of CPUs the virtual machine should use. If this isn't specified, the default is 1 CPU. - `enable_dynamic_memory` (boolean) - If `true` enable dynamic memory for @@ -401,7 +401,7 @@ Packer config: "winrm_timeout" : "4h", "shutdown_command": "f:\\run-sysprep.cmd", "memory": 4096, - "cpu": 4, + "cpus": 4, "generation": 2, "switch_name":"LAN", "enable_secure_boot":true