Fixed boot command

This commit is contained in:
Gregory Ballantine 2024-04-19 17:45:49 -04:00
parent 0ff1cd0b1b
commit 082d12f3b7

View File

@ -14,22 +14,24 @@ source "proxmox-iso" "ubuntu-22" {
boot_wait = "10s" boot_wait = "10s"
boot_key_interval = "200ms" boot_key_interval = "200ms"
boot_command = [ boot_command = [
# Make the language selector appear... # Edit boot options
" <up><wait>", "e<wait>",
# ...then get rid of it
" <up><wait><esc><wait>",
# Go to the other installation options menu and leave it # Go to the end of the boot command
"<f6><wait><esc><wait>", "<down><down><down><down><down><wait>",
# Remove the kernel command-line that already exists # Remove the kernel command-line that already exists
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>", "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>", "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>", "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs>",
# Add kernel command-line and start install # Add kernel command-line and start install
"linux ",
"/casper/vmlinuz ", "/casper/vmlinuz ",
"initrd=/casper/initrd ",
"autoinstall ", "autoinstall ",
"ds=nocloud-net;s=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ubuntu-22/ ", "ds=nocloud-net;s=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ubuntu-22/ ",
"<enter>" "<enter>"
@ -62,7 +64,7 @@ source "proxmox-iso" "ubuntu-22" {
node = "kamino" node = "kamino"
iso_url = "https://releases.ubuntu.com/22.04.4/ubuntu-22.04.4-live-server-amd64.iso" 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" iso_storage_pool = "iso"
unmount_iso = true unmount_iso = true
iso_download_pve = true iso_download_pve = true