diff --git a/.web-docs/components/builder/clone/README.md b/.web-docs/components/builder/clone/README.md index e3585db7..67ada87e 100644 --- a/.web-docs/components/builder/clone/README.md +++ b/.web-docs/components/builder/clone/README.md @@ -658,7 +658,9 @@ In HCL2: - `iso_storage_pool` (string) - Proxmox storage pool onto which to upload the ISO file. -- `iso_download_pve` (bool) - ISO Download PVE +- `iso_download_pve` (bool) - Download the ISO directly from the PVE node rather than through Packer. + + Defaults to `false` - `unmount` (bool) - If true, remove the mounted ISO from the template after finishing. Defaults to `false`. diff --git a/.web-docs/components/builder/iso/README.md b/.web-docs/components/builder/iso/README.md index 7854bf33..78288e49 100644 --- a/.web-docs/components/builder/iso/README.md +++ b/.web-docs/components/builder/iso/README.md @@ -216,10 +216,9 @@ in the image's Cloud-Init settings for provisioning. - `iso_storage_pool` (string) - Proxmox storage pool onto which to upload the ISO file. -- `iso_download_pve` (bool) - Download the specified `iso_url` directly from - the PVE node. Defaults to `false`. - By default Packer downloads the ISO and uploads it in a second step, this - option lets Proxmox handle downloading the ISO directly from the server. +- `iso_download_pve` (bool) - Download the ISO directly from the PVE node rather than through Packer. + + Defaults to `false` - `unmount_iso` (bool) - If true, remove the mounted ISO from the template after finishing. Defaults to `false`. @@ -416,7 +415,9 @@ In HCL2: - `iso_storage_pool` (string) - Proxmox storage pool onto which to upload the ISO file. -- `iso_download_pve` (bool) - ISO Download PVE +- `iso_download_pve` (bool) - Download the ISO directly from the PVE node rather than through Packer. + + Defaults to `false` - `unmount` (bool) - If true, remove the mounted ISO from the template after finishing. Defaults to `false`. diff --git a/builder/proxmox/common/config.go b/builder/proxmox/common/config.go index a357622a..198dcc13 100644 --- a/builder/proxmox/common/config.go +++ b/builder/proxmox/common/config.go @@ -226,7 +226,10 @@ type additionalISOsConfig struct { // Proxmox storage pool onto which to upload // the ISO file. ISOStoragePool string `mapstructure:"iso_storage_pool"` - ISODownloadPVE bool `mapstructure:"iso_download_pve"` + // Download the ISO directly from the PVE node rather than through Packer. + // + // Defaults to `false` + ISODownloadPVE bool `mapstructure:"iso_download_pve"` // If true, remove the mounted ISO from the template after finishing. Defaults to `false`. Unmount bool `mapstructure:"unmount"` ShouldUploadISO bool `mapstructure-to-hcl2:",skip"` diff --git a/builder/proxmox/iso/config.go b/builder/proxmox/iso/config.go index 2e60ec23..b9772392 100644 --- a/builder/proxmox/iso/config.go +++ b/builder/proxmox/iso/config.go @@ -26,10 +26,9 @@ type Config struct { // Proxmox storage pool onto which to upload // the ISO file. ISOStoragePool string `mapstructure:"iso_storage_pool"` - // Download the specified `iso_url` directly from - // the PVE node. Defaults to `false`. - // By default Packer downloads the ISO and uploads it in a second step, this - // option lets Proxmox handle downloading the ISO directly from the server. + // Download the ISO directly from the PVE node rather than through Packer. + // + // Defaults to `false` ISODownloadPVE bool `mapstructure:"iso_download_pve"` // If true, remove the mounted ISO from the template // after finishing. Defaults to `false`. diff --git a/docs-partials/builder/proxmox/common/additionalISOsConfig-not-required.mdx b/docs-partials/builder/proxmox/common/additionalISOsConfig-not-required.mdx index d28f6601..5de9fdbb 100644 --- a/docs-partials/builder/proxmox/common/additionalISOsConfig-not-required.mdx +++ b/docs-partials/builder/proxmox/common/additionalISOsConfig-not-required.mdx @@ -14,7 +14,9 @@ - `iso_storage_pool` (string) - Proxmox storage pool onto which to upload the ISO file. -- `iso_download_pve` (bool) - ISO Download PVE +- `iso_download_pve` (bool) - Download the ISO directly from the PVE node rather than through Packer. + + Defaults to `false` - `unmount` (bool) - If true, remove the mounted ISO from the template after finishing. Defaults to `false`. diff --git a/docs-partials/builder/proxmox/iso/Config-not-required.mdx b/docs-partials/builder/proxmox/iso/Config-not-required.mdx index 6b269b90..c9515418 100644 --- a/docs-partials/builder/proxmox/iso/Config-not-required.mdx +++ b/docs-partials/builder/proxmox/iso/Config-not-required.mdx @@ -8,10 +8,9 @@ - `iso_storage_pool` (string) - Proxmox storage pool onto which to upload the ISO file. -- `iso_download_pve` (bool) - Download the specified `iso_url` directly from - the PVE node. Defaults to `false`. - By default Packer downloads the ISO and uploads it in a second step, this - option lets Proxmox handle downloading the ISO directly from the server. +- `iso_download_pve` (bool) - Download the ISO directly from the PVE node rather than through Packer. + + Defaults to `false` - `unmount_iso` (bool) - If true, remove the mounted ISO from the template after finishing. Defaults to `false`.