Removed Debian 12 build; updated Debian 13 build to 13.6

This commit is contained in:
2026-08-04 13:53:58 -04:00
parent 98619be324
commit 3a43c99748
2 changed files with 3 additions and 85 deletions
-82
View File
@@ -1,82 +0,0 @@
variable "proxmox_host" {
type = string
default = "proxmox.example.com"
}
variable "proxmox_apiuser" {
type = string
default = "packer"
}
variable "proxmox_apitoken" {
type = string
default = "changeme"
}
variable "proxmox_disk_storage" {
type = string
default = "packer"
}
source "proxmox-iso" "debian-12" {
template_name = "debian-12"
template_description = "Debian 12.9, generated on ${timestamp()}"
vm_id = "203"
boot_wait = "10s"
boot_key_interval = "200ms"
boot_command = ["<esc><wait1s>", "auto url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/debian.cfg", "<enter><wait>"]
http_directory = "http"
http_port_max = "8089"
http_port_min = "8080"
os = "l26"
cores = "2"
sockets = "1"
cpu_type = "host"
memory = "2048"
scsi_controller = "virtio-scsi-single"
disks {
disk_size = "30G"
storage_pool = "${var.proxmox_disk_storage}"
type = "scsi"
format = "qcow2"
}
network_adapters {
bridge = "vmbr0"
model = "virtio"
}
proxmox_url = "https://${var.proxmox_host}:8006/api2/json/"
insecure_skip_tls_verify = true
username = "${var.proxmox_apiuser}"
password = "${var.proxmox_apitoken}"
node = "kamino"
pool = "Templates"
boot_iso {
type = "scsi"
iso_url = "https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-12.9.0-amd64-netinst.iso"
iso_checksum = "sha256:1257373c706d8c07e6917942736a865dfff557d21d76ea3040bb1039eb72a054"
iso_download_pve = true
iso_storage_pool = "iso"
unmount = true
}
ssh_username = "xadmin"
ssh_password = "packer"
ssh_timeout = "20m"
}
build {
sources = ["source.proxmox-iso.debian-12"]
provisioner "shell" {
script = "scripts/debian-install.sh"
}
provisioner "file" {
source = "scripts/initial-setup.sh"
destination = "/home/xadmin/initial-setup.sh"
}
}
+3 -3
View File
@@ -20,7 +20,7 @@ variable "proxmox_disk_storage" {
source "proxmox-iso" "debian-13" { source "proxmox-iso" "debian-13" {
template_name = "debian-13" template_name = "debian-13"
template_description = "Debian 13.0, generated on ${timestamp()}" template_description = "Debian 13.6, generated on ${timestamp()}"
vm_id = "209" vm_id = "209"
boot_wait = "10s" boot_wait = "10s"
boot_key_interval = "200ms" boot_key_interval = "200ms"
@@ -56,8 +56,8 @@ source "proxmox-iso" "debian-13" {
boot_iso { boot_iso {
type = "scsi" type = "scsi"
iso_url = "https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-13.0.0-amd64-netinst.iso" iso_url = "https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-13.6.0-amd64-netinst.iso"
iso_checksum = "sha256:e363cae0f1f22ed73363d0bde50b4ca582cb2816185cf6eac28e93d9bb9e1504" iso_checksum = "sha256:65273beed27b2df543b68b65630ba525cfbad8df2b12035732b2dff87d6664e7"
iso_download_pve = true iso_download_pve = true
iso_storage_pool = "iso" iso_storage_pool = "iso"
unmount = true unmount = true