From 082d12f3b7b6b84d78bf6684d229d949e97d77bf Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Fri, 19 Apr 2024 17:45:49 -0400 Subject: [PATCH] Fixed boot command --- Ubuntu-22/ubuntu-22.pkr.hcl | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Ubuntu-22/ubuntu-22.pkr.hcl b/Ubuntu-22/ubuntu-22.pkr.hcl index 784d1a0..9c02478 100644 --- a/Ubuntu-22/ubuntu-22.pkr.hcl +++ b/Ubuntu-22/ubuntu-22.pkr.hcl @@ -14,22 +14,24 @@ source "proxmox-iso" "ubuntu-22" { boot_wait = "10s" boot_key_interval = "200ms" boot_command = [ - # Make the language selector appear... - " ", - # ...then get rid of it - " ", + # Edit boot options + "e", - # Go to the other installation options menu and leave it - "", + # Go to the end of the boot command + "", # Remove the kernel command-line that already exists "", "", "", + "", + "", + "", + "", # Add kernel command-line and start install + "linux ", "/casper/vmlinuz ", - "initrd=/casper/initrd ", "autoinstall ", "ds=nocloud-net;s=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ubuntu-22/ ", "" @@ -62,7 +64,7 @@ source "proxmox-iso" "ubuntu-22" { node = "kamino" iso_url = "https://releases.ubuntu.com/22.04.4/ubuntu-22.04.4-live-server-amd64.iso" - iso_checksum = "sha256:45f873de9f8cb637345d6e66a583762730bbea30277ef7b32c9c3bd6700a32b2 " + iso_checksum = "sha256:45f873de9f8cb637345d6e66a583762730bbea30277ef7b32c9c3bd6700a32b2" iso_storage_pool = "iso" unmount_iso = true iso_download_pve = true