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