with vars
This commit is contained in:
@@ -6,13 +6,18 @@ variable "ISODISK" {
|
||||
default = "ISOS:iso/AlmaLinux-9-latest-x86_64-minimal.iso"
|
||||
}
|
||||
|
||||
variable "ISOCKSUM" {
|
||||
type = string
|
||||
default = "63ae680790f71d56ddc5f050d5bcd1caf34824241f0861876f75194f75a3894f"
|
||||
}
|
||||
|
||||
source "proxmox" "alma" {
|
||||
template_name = "alma"
|
||||
template_description = "Alma Linux 9 Server template"
|
||||
proxmox_url = "https://192.168.111.34:8006/api2/json"
|
||||
node = "grosnoeud"
|
||||
iso_file = var.ISODISK
|
||||
iso_checksum = "63ae680790f71d56ddc5f050d5bcd1caf34824241f0861876f75194f75a3894f"
|
||||
iso_checksum = var.ISOCKSUM
|
||||
insecure_skip_tls_verify = true
|
||||
pool = "Linux-VM"
|
||||
vm_name = "PackerTest"
|
||||
|
||||
Reference in New Issue
Block a user