diff --git a/builder/hyperv/common/config.go b/builder/hyperv/common/config.go index e890d5ac3..152868e1d 100644 --- a/builder/hyperv/common/config.go +++ b/builder/hyperv/common/config.go @@ -35,7 +35,6 @@ const ( DefaultPassword = "" ) -// AccessConfig is for common configuration related to AWS access type CommonConfig struct { common.FloppyConfig `mapstructure:",squash"` // The block size of the VHD to be created. diff --git a/website/source/docs/builders/hyperv-iso.html.md.erb b/website/source/docs/builders/hyperv-iso.html.md.erb index 78f95802b..22db5fe51 100644 --- a/website/source/docs/builders/hyperv-iso.html.md.erb +++ b/website/source/docs/builders/hyperv-iso.html.md.erb @@ -70,6 +70,10 @@ In addition to the options listed here, a [communicator](/docs/templates/communicator.html) can be configured for this builder. +### Required: + +<%= partial "partials/builder/hyperv/common/CommonConfig" %> + ### Optional: - `output_directory` (string) - This setting specifies the directory that @@ -81,6 +85,7 @@ builder. "output-BUILDNAME" where "BUILDNAME" is the name of the build. <%= partial "partials/builder/hyperv/iso/Config-not-required" %> +<%= partial "partials/builder/hyperv/common/CommonConfig-not-required" %> ## Http directory configuration reference diff --git a/website/source/docs/builders/hyperv-vmcx.html.md.erb b/website/source/docs/builders/hyperv-vmcx.html.md.erb index 31d195e6d..6956516dc 100644 --- a/website/source/docs/builders/hyperv-vmcx.html.md.erb +++ b/website/source/docs/builders/hyperv-vmcx.html.md.erb @@ -76,10 +76,12 @@ builder. ### Required: <%= partial "partials/common/ISOConfig-required" %> +<%= partial "partials/common/CommonConfig" %> ### Optional: <%= partial "partials/common/ISOConfig-not-required" %> +<%= partial "partials/common/CommonConfig-not-required" %> ### Required for virtual machine import: diff --git a/website/source/partials/builder/hyperv/common/_CommonConfig.html.md b/website/source/partials/builder/hyperv/common/_CommonConfig.html.md deleted file mode 100644 index f356377a3..000000000 --- a/website/source/partials/builder/hyperv/common/_CommonConfig.html.md +++ /dev/null @@ -1,2 +0,0 @@ - -AccessConfig is for common configuration related to AWS access