feat: update var defaults and descriptions
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
DESCRIPTION:
|
DESCRIPTION:
|
||||||
CentOS Stream 9 variables using the Packer Builder for Proxmox (proxmox-iso).
|
CentOS 9 Stream variables using the Packer Builder for Proxmox (proxmox-iso).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// BLOCK: variable
|
// BLOCK: variable
|
||||||
@@ -80,7 +80,7 @@ variable "vm_os_type" {
|
|||||||
variable "vm_bios" {
|
variable "vm_bios" {
|
||||||
type = string
|
type = string
|
||||||
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
|
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
|
||||||
default = "OVMF"
|
default = "ovmf"
|
||||||
|
|
||||||
validation {
|
validation {
|
||||||
condition = contains(["ovmf", "seabios"], var.vm_bios)
|
condition = contains(["ovmf", "seabios"], var.vm_bios)
|
||||||
@@ -97,16 +97,19 @@ variable "vm_firmware_path" {
|
|||||||
variable "vm_efi_storage_pool" {
|
variable "vm_efi_storage_pool" {
|
||||||
type = string
|
type = string
|
||||||
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
|
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
|
||||||
|
default = "local-lvm"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_efi_type" {
|
variable "vm_efi_type" {
|
||||||
type = string
|
type = string
|
||||||
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
|
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
|
||||||
|
default = "4m"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_efi_pre_enrolled_keys" {
|
variable "vm_efi_pre_enrolled_keys" {
|
||||||
type = bool
|
type = bool
|
||||||
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
|
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
|
||||||
|
default = false
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_cpu_count" {
|
variable "vm_cpu_count" {
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ variable "vm_os_type" {
|
|||||||
variable "vm_bios" {
|
variable "vm_bios" {
|
||||||
type = string
|
type = string
|
||||||
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
|
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
|
||||||
default = "OVMF"
|
default = "ovmf"
|
||||||
|
|
||||||
validation {
|
validation {
|
||||||
condition = contains(["ovmf", "seabios"], var.vm_bios)
|
condition = contains(["ovmf", "seabios"], var.vm_bios)
|
||||||
@@ -97,16 +97,19 @@ variable "vm_firmware_path" {
|
|||||||
variable "vm_efi_storage_pool" {
|
variable "vm_efi_storage_pool" {
|
||||||
type = string
|
type = string
|
||||||
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
|
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
|
||||||
|
default = "local-lvm"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_efi_type" {
|
variable "vm_efi_type" {
|
||||||
type = string
|
type = string
|
||||||
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
|
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
|
||||||
|
default = "4m"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_efi_pre_enrolled_keys" {
|
variable "vm_efi_pre_enrolled_keys" {
|
||||||
type = bool
|
type = bool
|
||||||
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
|
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
|
||||||
|
default = false
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_cpu_count" {
|
variable "vm_cpu_count" {
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ variable "vm_os_type" {
|
|||||||
variable "vm_bios" {
|
variable "vm_bios" {
|
||||||
type = string
|
type = string
|
||||||
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
|
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
|
||||||
default = "OVMF"
|
default = "ovmf"
|
||||||
|
|
||||||
validation {
|
validation {
|
||||||
condition = contains(["ovmf", "seabios"], var.vm_bios)
|
condition = contains(["ovmf", "seabios"], var.vm_bios)
|
||||||
@@ -97,16 +97,19 @@ variable "vm_firmware_path" {
|
|||||||
variable "vm_efi_storage_pool" {
|
variable "vm_efi_storage_pool" {
|
||||||
type = string
|
type = string
|
||||||
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
|
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
|
||||||
|
default = "local-lvm"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_efi_type" {
|
variable "vm_efi_type" {
|
||||||
type = string
|
type = string
|
||||||
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
|
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
|
||||||
|
default = "4m"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_efi_pre_enrolled_keys" {
|
variable "vm_efi_pre_enrolled_keys" {
|
||||||
type = bool
|
type = bool
|
||||||
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
|
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
|
||||||
|
default = false
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_cpu_count" {
|
variable "vm_cpu_count" {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
DESCRIPTION:
|
DESCRIPTION:
|
||||||
openSUSE-Leap 15.5 variables using the Packer Builder for Proxmox (proxmox-iso).
|
openSUSE Leap 15.5 variables using the Packer Builder for Proxmox (proxmox-iso).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// BLOCK: variable
|
// BLOCK: variable
|
||||||
@@ -80,7 +80,7 @@ variable "vm_os_type" {
|
|||||||
variable "vm_bios" {
|
variable "vm_bios" {
|
||||||
type = string
|
type = string
|
||||||
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
|
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
|
||||||
default = "OVMF"
|
default = "ovmf"
|
||||||
|
|
||||||
validation {
|
validation {
|
||||||
condition = contains(["ovmf", "seabios"], var.vm_bios)
|
condition = contains(["ovmf", "seabios"], var.vm_bios)
|
||||||
@@ -97,16 +97,19 @@ variable "vm_firmware_path" {
|
|||||||
variable "vm_efi_storage_pool" {
|
variable "vm_efi_storage_pool" {
|
||||||
type = string
|
type = string
|
||||||
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
|
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
|
||||||
|
default = "local-lvm"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_efi_type" {
|
variable "vm_efi_type" {
|
||||||
type = string
|
type = string
|
||||||
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
|
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
|
||||||
|
default = "4m"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_efi_pre_enrolled_keys" {
|
variable "vm_efi_pre_enrolled_keys" {
|
||||||
type = bool
|
type = bool
|
||||||
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
|
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
|
||||||
|
default = false
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_cpu_count" {
|
variable "vm_cpu_count" {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
DESCRIPTION:
|
DESCRIPTION:
|
||||||
openSUSE-Leap 15.6 variables using the Packer Builder for Proxmox (proxmox-iso).
|
openSUSE Leap 15.6 variables using the Packer Builder for Proxmox (proxmox-iso).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// BLOCK: variable
|
// BLOCK: variable
|
||||||
@@ -80,7 +80,7 @@ variable "vm_os_type" {
|
|||||||
variable "vm_bios" {
|
variable "vm_bios" {
|
||||||
type = string
|
type = string
|
||||||
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
|
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
|
||||||
default = "OVMF"
|
default = "ovmf"
|
||||||
|
|
||||||
validation {
|
validation {
|
||||||
condition = contains(["ovmf", "seabios"], var.vm_bios)
|
condition = contains(["ovmf", "seabios"], var.vm_bios)
|
||||||
@@ -97,16 +97,19 @@ variable "vm_firmware_path" {
|
|||||||
variable "vm_efi_storage_pool" {
|
variable "vm_efi_storage_pool" {
|
||||||
type = string
|
type = string
|
||||||
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
|
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
|
||||||
|
default = "local-lvm"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_efi_type" {
|
variable "vm_efi_type" {
|
||||||
type = string
|
type = string
|
||||||
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
|
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
|
||||||
|
default = "4m"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_efi_pre_enrolled_keys" {
|
variable "vm_efi_pre_enrolled_keys" {
|
||||||
type = bool
|
type = bool
|
||||||
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
|
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
|
||||||
|
default = false
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_cpu_count" {
|
variable "vm_cpu_count" {
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ variable "vm_os_type" {
|
|||||||
variable "vm_bios" {
|
variable "vm_bios" {
|
||||||
type = string
|
type = string
|
||||||
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
|
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
|
||||||
default = "OVMF"
|
default = "ovmf"
|
||||||
|
|
||||||
validation {
|
validation {
|
||||||
condition = contains(["ovmf", "seabios"], var.vm_bios)
|
condition = contains(["ovmf", "seabios"], var.vm_bios)
|
||||||
@@ -97,16 +97,19 @@ variable "vm_firmware_path" {
|
|||||||
variable "vm_efi_storage_pool" {
|
variable "vm_efi_storage_pool" {
|
||||||
type = string
|
type = string
|
||||||
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
|
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
|
||||||
|
default = "local-lvm"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_efi_type" {
|
variable "vm_efi_type" {
|
||||||
type = string
|
type = string
|
||||||
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
|
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
|
||||||
|
default = "4m"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_efi_pre_enrolled_keys" {
|
variable "vm_efi_pre_enrolled_keys" {
|
||||||
type = bool
|
type = bool
|
||||||
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
|
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
|
||||||
|
default = false
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_cpu_count" {
|
variable "vm_cpu_count" {
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ variable "vm_os_type" {
|
|||||||
variable "vm_bios" {
|
variable "vm_bios" {
|
||||||
type = string
|
type = string
|
||||||
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
|
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
|
||||||
default = "OVMF"
|
default = "ovmf"
|
||||||
|
|
||||||
validation {
|
validation {
|
||||||
condition = contains(["ovmf", "seabios"], var.vm_bios)
|
condition = contains(["ovmf", "seabios"], var.vm_bios)
|
||||||
@@ -97,16 +97,19 @@ variable "vm_firmware_path" {
|
|||||||
variable "vm_efi_storage_pool" {
|
variable "vm_efi_storage_pool" {
|
||||||
type = string
|
type = string
|
||||||
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
|
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
|
||||||
|
default = "local-lvm"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_efi_type" {
|
variable "vm_efi_type" {
|
||||||
type = string
|
type = string
|
||||||
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
|
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
|
||||||
|
default = "4m"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_efi_pre_enrolled_keys" {
|
variable "vm_efi_pre_enrolled_keys" {
|
||||||
type = bool
|
type = bool
|
||||||
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
|
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
|
||||||
|
default = false
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_cpu_count" {
|
variable "vm_cpu_count" {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
DESCRIPTION:
|
DESCRIPTION:
|
||||||
Debian Linux 11 network variables used by the Packer Plugin for VMware vSphere (vsphere-iso).
|
Ubuntu 20.04 LTS network variables used by the Packer Plugin for Proxmox (proxmox-iso).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// VM Network Settings
|
// VM Network Settings
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ variable "vm_os_type" {
|
|||||||
variable "vm_bios" {
|
variable "vm_bios" {
|
||||||
type = string
|
type = string
|
||||||
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
|
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
|
||||||
default = "OVMF"
|
default = "ovmf"
|
||||||
|
|
||||||
validation {
|
validation {
|
||||||
condition = contains(["ovmf", "seabios"], var.vm_bios)
|
condition = contains(["ovmf", "seabios"], var.vm_bios)
|
||||||
@@ -97,16 +97,19 @@ variable "vm_firmware_path" {
|
|||||||
variable "vm_efi_storage_pool" {
|
variable "vm_efi_storage_pool" {
|
||||||
type = string
|
type = string
|
||||||
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
|
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
|
||||||
|
default = "local-lvm"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_efi_type" {
|
variable "vm_efi_type" {
|
||||||
type = string
|
type = string
|
||||||
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
|
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
|
||||||
|
default = "4m"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_efi_pre_enrolled_keys" {
|
variable "vm_efi_pre_enrolled_keys" {
|
||||||
type = bool
|
type = bool
|
||||||
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
|
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
|
||||||
|
default = false
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_cpu_count" {
|
variable "vm_cpu_count" {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
DESCRIPTION:
|
DESCRIPTION:
|
||||||
Debian Linux 11 network variables used by the Packer Plugin for VMware vSphere (vsphere-iso).
|
Ubuntu 22.04 LTS network variables used by the Packer Plugin for Proxmox (proxmox-iso).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// VM Network Settings
|
// VM Network Settings
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
DESCRIPTION:
|
DESCRIPTION:
|
||||||
Ubuntu Server 22.04 LTS storage variables used by the Packer Plugin for VMware vSphere (vsphere-iso).
|
Ubuntu Server 22.04 LTS storage variables used by the Packer Plugin for Proxmox (proxmox-iso).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// VM Storage Settings
|
// VM Storage Settings
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ variable "vm_os_type" {
|
|||||||
variable "vm_bios" {
|
variable "vm_bios" {
|
||||||
type = string
|
type = string
|
||||||
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
|
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
|
||||||
default = "OVMF"
|
default = "ovmf"
|
||||||
|
|
||||||
validation {
|
validation {
|
||||||
condition = contains(["ovmf", "seabios"], var.vm_bios)
|
condition = contains(["ovmf", "seabios"], var.vm_bios)
|
||||||
@@ -97,16 +97,19 @@ variable "vm_firmware_path" {
|
|||||||
variable "vm_efi_storage_pool" {
|
variable "vm_efi_storage_pool" {
|
||||||
type = string
|
type = string
|
||||||
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
|
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
|
||||||
|
default = "local-lvm"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_efi_type" {
|
variable "vm_efi_type" {
|
||||||
type = string
|
type = string
|
||||||
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
|
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
|
||||||
|
default = "4m"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_efi_pre_enrolled_keys" {
|
variable "vm_efi_pre_enrolled_keys" {
|
||||||
type = bool
|
type = bool
|
||||||
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
|
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
|
||||||
|
default = false
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_cpu_count" {
|
variable "vm_cpu_count" {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
DESCRIPTION:
|
DESCRIPTION:
|
||||||
Debian Linux 11 network variables used by the Packer Plugin for VMware vSphere (vsphere-iso).
|
Ubuntu 24.04 LTS network variables used by the Packer Plugin for Proxmox (proxmox-iso).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// VM Network Settings
|
// VM Network Settings
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ variable "vm_os_type" {
|
|||||||
variable "vm_bios" {
|
variable "vm_bios" {
|
||||||
type = string
|
type = string
|
||||||
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
|
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
|
||||||
default = "OVMF"
|
default = "ovmf"
|
||||||
|
|
||||||
validation {
|
validation {
|
||||||
condition = contains(["ovmf", "seabios"], var.vm_bios)
|
condition = contains(["ovmf", "seabios"], var.vm_bios)
|
||||||
@@ -97,16 +97,19 @@ variable "vm_firmware_path" {
|
|||||||
variable "vm_efi_storage_pool" {
|
variable "vm_efi_storage_pool" {
|
||||||
type = string
|
type = string
|
||||||
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
|
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
|
||||||
|
default = "local-lvm"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_efi_type" {
|
variable "vm_efi_type" {
|
||||||
type = string
|
type = string
|
||||||
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
|
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
|
||||||
|
default = "4m"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_efi_pre_enrolled_keys" {
|
variable "vm_efi_pre_enrolled_keys" {
|
||||||
type = bool
|
type = bool
|
||||||
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
|
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
|
||||||
|
default = false
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_cpu_count" {
|
variable "vm_cpu_count" {
|
||||||
|
|||||||
Reference in New Issue
Block a user