From 9cbb49bacb15e42e720c8e1d132d9b0da3d4be55 Mon Sep 17 00:00:00 2001 From: "Jason A. Beranek" Date: Tue, 18 Feb 2020 04:11:20 -0600 Subject: [PATCH] builder/vmware/iso: Expand `guest_os_type` docs (#8760) --- builder/vmware/iso/config.go | 4 +++- .../partials/builder/vmware/iso/_Config-not-required.html.md | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/builder/vmware/iso/config.go b/builder/vmware/iso/config.go index 2062ee4e5..f08a51bc9 100644 --- a/builder/vmware/iso/config.go +++ b/builder/vmware/iso/config.go @@ -92,7 +92,9 @@ type Config struct { // set in the VMware VMX. By default this is other. By specifying a more // specific OS type, VMware may perform some optimizations or virtual hardware // changes to better support the operating system running in the - // virtual machine. + // virtual machine. Valid values differ by platform and version numbers, and may + // not match other VMware API's representation of the guest OS names. Consult your + // platform for valid values. GuestOSType string `mapstructure:"guest_os_type" required:"false"` // The [vmx hardware // version](http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003746) diff --git a/website/source/partials/builder/vmware/iso/_Config-not-required.html.md b/website/source/partials/builder/vmware/iso/_Config-not-required.html.md index d0ee6c8ee..f223b9e2c 100644 --- a/website/source/partials/builder/vmware/iso/_Config-not-required.html.md +++ b/website/source/partials/builder/vmware/iso/_Config-not-required.html.md @@ -59,7 +59,9 @@ set in the VMware VMX. By default this is other. By specifying a more specific OS type, VMware may perform some optimizations or virtual hardware changes to better support the operating system running in the - virtual machine. + virtual machine. Valid values differ by platform and version numbers, and may + not match other VMware API's representation of the guest OS names. Consult your + platform for valid values. - `version` (string) - The [vmx hardware version](http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003746)