with vars

This commit is contained in:
Iwan Clement
2023-01-11 19:25:11 +01:00
parent 994934b07f
commit dc98a00203

View File

@@ -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"