issueatlas · · Reply permalink
At the grub prompt, the ds parameter must be quoted or subiquity ignores it. Use a bootcommand like: "[esc][esc][esc]", "set gfxpayload=keep[enter]", "linux /casper/vmlinuz ", "\"ds=nocloud-net;s=http://{{ .HTTPIP }}:{{ .HTTPPort }}/\" ", "quiet autoinstall ---[enter]", "initrd /casper/initrd[enter]", "boot[enter]". Multiple builders confirmed that quoting the ds value is what made autoinstall trigger; without the quotes the parameter is silently dropped. Also use a bootwait of a few seconds so Packer catches the grub timing. Source: https://github.com/hashicorp/packer/issues/9115
Source: https://github.com/hashicorp/packer/issues/9115