feat: update var defaults and descriptions

This commit is contained in:
AJ Schroeder
2024-07-12 15:24:17 -05:00
parent 45088b8eb9
commit 37c439621a
14 changed files with 50 additions and 20 deletions

View File

@@ -1,6 +1,6 @@
/*
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
@@ -80,7 +80,7 @@ variable "vm_os_type" {
variable "vm_bios" {
type = string
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
default = "OVMF"
default = "ovmf"
validation {
condition = contains(["ovmf", "seabios"], var.vm_bios)
@@ -97,16 +97,19 @@ variable "vm_firmware_path" {
variable "vm_efi_storage_pool" {
type = string
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
default = "local-lvm"
}
variable "vm_efi_type" {
type = string
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
default = "4m"
}
variable "vm_efi_pre_enrolled_keys" {
type = bool
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
default = false
}
variable "vm_cpu_count" {

View File

@@ -80,7 +80,7 @@ variable "vm_os_type" {
variable "vm_bios" {
type = string
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
default = "OVMF"
default = "ovmf"
validation {
condition = contains(["ovmf", "seabios"], var.vm_bios)
@@ -97,16 +97,19 @@ variable "vm_firmware_path" {
variable "vm_efi_storage_pool" {
type = string
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
default = "local-lvm"
}
variable "vm_efi_type" {
type = string
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
default = "4m"
}
variable "vm_efi_pre_enrolled_keys" {
type = bool
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
default = false
}
variable "vm_cpu_count" {

View File

@@ -80,7 +80,7 @@ variable "vm_os_type" {
variable "vm_bios" {
type = string
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
default = "OVMF"
default = "ovmf"
validation {
condition = contains(["ovmf", "seabios"], var.vm_bios)
@@ -97,16 +97,19 @@ variable "vm_firmware_path" {
variable "vm_efi_storage_pool" {
type = string
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
default = "local-lvm"
}
variable "vm_efi_type" {
type = string
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
default = "4m"
}
variable "vm_efi_pre_enrolled_keys" {
type = bool
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
default = false
}
variable "vm_cpu_count" {

View File

@@ -1,6 +1,6 @@
/*
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
@@ -80,7 +80,7 @@ variable "vm_os_type" {
variable "vm_bios" {
type = string
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
default = "OVMF"
default = "ovmf"
validation {
condition = contains(["ovmf", "seabios"], var.vm_bios)
@@ -97,16 +97,19 @@ variable "vm_firmware_path" {
variable "vm_efi_storage_pool" {
type = string
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
default = "local-lvm"
}
variable "vm_efi_type" {
type = string
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
default = "4m"
}
variable "vm_efi_pre_enrolled_keys" {
type = bool
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
default = false
}
variable "vm_cpu_count" {

View File

@@ -1,6 +1,6 @@
/*
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
@@ -80,7 +80,7 @@ variable "vm_os_type" {
variable "vm_bios" {
type = string
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
default = "OVMF"
default = "ovmf"
validation {
condition = contains(["ovmf", "seabios"], var.vm_bios)
@@ -97,16 +97,19 @@ variable "vm_firmware_path" {
variable "vm_efi_storage_pool" {
type = string
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
default = "local-lvm"
}
variable "vm_efi_type" {
type = string
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
default = "4m"
}
variable "vm_efi_pre_enrolled_keys" {
type = bool
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
default = false
}
variable "vm_cpu_count" {
@@ -301,4 +304,4 @@ variable "additional_packages" {
type = list(string)
description = "Additional packages to install."
default = []
}
}

View File

@@ -80,7 +80,7 @@ variable "vm_os_type" {
variable "vm_bios" {
type = string
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
default = "OVMF"
default = "ovmf"
validation {
condition = contains(["ovmf", "seabios"], var.vm_bios)
@@ -97,16 +97,19 @@ variable "vm_firmware_path" {
variable "vm_efi_storage_pool" {
type = string
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
default = "local-lvm"
}
variable "vm_efi_type" {
type = string
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
default = "4m"
}
variable "vm_efi_pre_enrolled_keys" {
type = bool
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
default = false
}
variable "vm_cpu_count" {
@@ -301,4 +304,4 @@ variable "additional_packages" {
type = list(string)
description = "Additional packages to install."
default = []
}
}

View File

@@ -80,7 +80,7 @@ variable "vm_os_type" {
variable "vm_bios" {
type = string
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
default = "OVMF"
default = "ovmf"
validation {
condition = contains(["ovmf", "seabios"], var.vm_bios)
@@ -97,16 +97,19 @@ variable "vm_firmware_path" {
variable "vm_efi_storage_pool" {
type = string
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
default = "local-lvm"
}
variable "vm_efi_type" {
type = string
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
default = "4m"
}
variable "vm_efi_pre_enrolled_keys" {
type = bool
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
default = false
}
variable "vm_cpu_count" {
@@ -301,4 +304,4 @@ variable "additional_packages" {
type = list(string)
description = "Additional packages to install."
default = []
}
}

View File

@@ -1,6 +1,6 @@
/*
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

View File

@@ -80,7 +80,7 @@ variable "vm_os_type" {
variable "vm_bios" {
type = string
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
default = "OVMF"
default = "ovmf"
validation {
condition = contains(["ovmf", "seabios"], var.vm_bios)
@@ -97,16 +97,19 @@ variable "vm_firmware_path" {
variable "vm_efi_storage_pool" {
type = string
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
default = "local-lvm"
}
variable "vm_efi_type" {
type = string
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
default = "4m"
}
variable "vm_efi_pre_enrolled_keys" {
type = bool
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
default = false
}
variable "vm_cpu_count" {

View File

@@ -1,6 +1,6 @@
/*
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

View File

@@ -1,6 +1,6 @@
/*
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

View File

@@ -80,7 +80,7 @@ variable "vm_os_type" {
variable "vm_bios" {
type = string
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
default = "OVMF"
default = "ovmf"
validation {
condition = contains(["ovmf", "seabios"], var.vm_bios)
@@ -97,16 +97,19 @@ variable "vm_firmware_path" {
variable "vm_efi_storage_pool" {
type = string
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
default = "local-lvm"
}
variable "vm_efi_type" {
type = string
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
default = "4m"
}
variable "vm_efi_pre_enrolled_keys" {
type = bool
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
default = false
}
variable "vm_cpu_count" {

View File

@@ -1,6 +1,6 @@
/*
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

View File

@@ -80,7 +80,7 @@ variable "vm_os_type" {
variable "vm_bios" {
type = string
description = "The firmware type. Allowed values 'ovmf' or 'seabios'"
default = "OVMF"
default = "ovmf"
validation {
condition = contains(["ovmf", "seabios"], var.vm_bios)
@@ -97,16 +97,19 @@ variable "vm_firmware_path" {
variable "vm_efi_storage_pool" {
type = string
description = "Set the UEFI disk storage location. (e.g. 'local-lvm')"
default = "local-lvm"
}
variable "vm_efi_type" {
type = string
description = "Specifies the version of the OVMF firmware to be used. (e.g. '4m')"
default = "4m"
}
variable "vm_efi_pre_enrolled_keys" {
type = bool
description = "Whether Microsoft Standard Secure Boot keys should be pre-loaded on the EFI disk. (e.g. false)"
default = false
}
variable "vm_cpu_count" {