Since there is no floppy driver in the ubuntu-20.04.x installer anymore to pass in user-data and meta-data I tried to use
The builder is creating two devices.
/dev/sr0 with the ubuntu installer iso and
/dev/sr1 for the iso with user-data and meta-data on it. While
/dev/sr0 is mounted to boot from it,
/dev/sr1 is not mounted and therefore user-data and meta-data are not available for cloud-init and I can’t set the
seedfrom value in the
- Does any body know how to teach packer to mount the second cdrom/iso?
- Or mount it somehow in the
- Or is this a bug?
cd_files = ["./ubuntu-20.04/meta-data", "./ubuntu-20.04/user-data"] cd_label = "cidata" boot_wait = "2s" boot_command = [ "<esc><esc><esc>", "<enter><wait>", "/casper/vmlinuz ", "initrd=/casper/initrd ", "autoinstall ", -> possible to mount /dev/sr1 here somehow? "ds=nocloud;s=??? ", "<enter>" ]