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_key_interval = "200ms"
boot_command = [
# Make the language selector appear...
" <up><wait>",
# ...then get rid of it
" <up><wait><esc><wait>",
# Edit boot options
"e<wait>",
# Go to the other installation options menu and leave it
"<f6><wait><esc><wait>",
# Go to the end of the boot command
"<down><down><down><down><down><wait>",
# 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>",
# Add kernel command-line and start install
"linux ",
"/casper/vmlinuz ",
"initrd=/casper/initrd ",
"autoinstall ",
"ds=nocloud-net;s=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ubuntu-22/ ",
"<enter>"
@ -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