variable "proxmox_apiuser" { type = string default = "packer" } variable "proxmox_apitoken" { type = string default = "changeme" } source "proxmox-iso" "rocky-9" { template_name = "rocky-9" template_description = "Rocky Linux 9.3, generated on ${timestamp()}" boot_wait = "10s" boot_key_interval = "200ms" boot_command = ["", " inst.ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/rocky-9-server.ks"] http_directory = "http" http_port_max = "8089" http_port_min = "8080" os = "l26" machine = "pc" scsi_controller = "virtio-scsi-single" cores = "2" sockets = "1" memory = "2048" disks { disk_size = "30G" storage_pool = "templates" type = "scsi" } network_adapters { bridge = "vmbr0" model = "virtio" } proxmox_url = "https://kamino.int.metaunix.net:8006/api2/json/" insecure_skip_tls_verify = true username = "${var.proxmox_apiuser}" password = "${var.proxmox_apitoken}" node = "kamino" iso_url = "https://download.rockylinux.org/pub/rocky/9/isos/x86_64/Rocky-9.3-x86_64-boot.iso" iso_checksum = "sha256:eb096f0518e310f722d5ebd4c69f0322df4fc152c6189f93c5c797dc25f3d2e1" iso_storage_pool = "iso" unmount_iso = true iso_download_pve = true ssh_username = "xadmin" ssh_password = "packer" ssh_timeout = "20m" } build { sources = ["source.proxmox-iso.rocky-9"] }