variables
This commit is contained in:
@@ -1,13 +1,19 @@
|
|||||||
packer {
|
packer {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "ISODISK" {
|
||||||
|
type = string
|
||||||
|
default = "ISOS:iso/Rocky-8.5-x86_64-dvd1.iso"
|
||||||
|
}
|
||||||
|
|
||||||
source "proxmox" "rocky" {
|
source "proxmox" "rocky" {
|
||||||
template_name = "rocky"
|
template_name = "rocky"
|
||||||
template_description = "Rocky Linux Server template"
|
template_description = "Rocky Linux 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 = "ISOS:iso/Rocky-8.5-x86_64-minimal.iso"
|
#iso_file = "ISOS:iso/Rocky-8.5-x86_64-minimal.iso"
|
||||||
iso_file = "ISOS:iso/Rocky-8.5-x86_64-dvd1.iso"
|
#iso_file = "ISOS:iso/Rocky-8.5-x86_64-dvd1.iso"
|
||||||
|
iso_file = var.ISODISK
|
||||||
iso_checksum = "f8e3086f3cea0fb3fefb29937ab5ed9d19e767079633960ccb50e76153effc98"
|
iso_checksum = "f8e3086f3cea0fb3fefb29937ab5ed9d19e767079633960ccb50e76153effc98"
|
||||||
insecure_skip_tls_verify = true
|
insecure_skip_tls_verify = true
|
||||||
pool = "Linux-VM"
|
pool = "Linux-VM"
|
||||||
|
|||||||
Reference in New Issue
Block a user