When I try to run an autoinstall using packer of Ubuntu 24.04.1 I do get stuck on language select page which must not even be shown as the preseed must be load.
After the boot commands are executed the VM shows: loading cloud-init for a while and then just show the Ubuntu wizard that asks to select the language.
Here is the .hcl source part:
source "hyperv-iso" "ubuntu" {
boot_command = [
"c",
"linux /casper/vmlinuz quiet autoinstall ",
"ds=nocloud-net\\;s=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg <enter>",
"initrd /casper/initrd<enter>",
"boot<enter>"
]
boot_wait = "5s"
communicator = "ssh"
cpus = 2
disk_size = "46080"
enable_secure_boot = false
generation = 2
guest_additions_mode = "disable"
http_directory = "http/"
iso_checksum = "sha256:e240e4b801f7bb68c20d1356b60968ad0c33a41d00d828e74ceb3364a0317be9"
iso_url = "http://releases.ubuntu.com/noble/ubuntu-24.04.1-live-server-amd64.iso"
shutdown_command = "echo 'packer' | sudo -S shutdown -P now"
ssh_username = "administrator"
ssh_password = "administrator"
ssh_timeout = "10m"
vm_name = "ubuntu-k3s-vortex"
memory = 2048
switch_name = "VMNetworkSwitch"
floppy_files = []
}