From 9009a3b57b3ed2c1fe9349ee605539a44d9961d5 Mon Sep 17 00:00:00 2001 From: Iwan Clement Date: Sun, 20 Oct 2024 18:34:58 +0200 Subject: [PATCH] 24 --- data/masters.pkr.hcl | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/data/masters.pkr.hcl b/data/masters.pkr.hcl index db11785..718400c 100644 --- a/data/masters.pkr.hcl +++ b/data/masters.pkr.hcl @@ -48,17 +48,17 @@ source "proxmox" "rocky" { boot_command = [" inst.ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/redhat.kix"] } -source "proxmox" "ubuntu" { - template_name = "UBU2004" - template_description = "Ubuntu 20.04 Server template" - proxmox_url = "https://192.168.111.34:8006/api2/json" +source "proxmox" "ubuntu24" { + template_name = "UBU2404" + template_description = "Ubuntu 24.04 Server template" + proxmox_url = "https://192.168.111.36:8006/api2/json" node = "grosnoeud" - iso_file = "ISOS:iso/ubuntu-20.04.3-live-server-amd64.iso" - iso_checksum = "f8e3086f3cea0fb3fefb29937ab5ed9d19e767079633960ccb50e76153effc98" + iso_file = "ISOS:iso/ubuntu-24.04.1-live-server-amd64.iso" + iso_checksum = "e240e4b801f7bb68c20d1356b60968ad0c33a41d00d828e74ceb3364a0317be9" insecure_skip_tls_verify = true pool = "Linux-VM" - vm_name = "PackerTest" - vm_id = 654 + vm_name = "ubuntu24" + vm_id = 854 memory = 2048 cores = 1 sockets = 2 @@ -67,7 +67,7 @@ source "proxmox" "ubuntu" { http_port_max = 4999 http_directory = "ubuntu-20.04" username = "root@pam" - password = "bzzYpm8koNtPKFYjpjXSyjFY" + password = "galeregalere" ssh_username = "firstuser" ssh_password = "firstuser" ssh_timeout = "10m" @@ -104,7 +104,7 @@ source "proxmox" "ubuntu" { } build { - sources = [ "source.proxmox.ubuntu" ] + sources = [ "source.proxmox.ubuntu24" ] provisioner "shell" { pause_before = "20s"