Install Ubuntu 20 with autoinstall
dkirrane opened this issue · 2 comments
The Ubuntu 20 AutoInstall has an option to provide the autoinstall config using nocloud data source.
https://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html
For this option filesystem volume label must be cidata
or CIDATA
.
Is their a way to provide the autoinstall config via floppy with the required label, or any other approach?
"floppy_files": [
"{{template_dir}}/cloudconfig.yaml"
],
I'm sure that label cannot be applied for floppy disk, only cdrom/iso disk (as in cloudinit documentation).
I'd recommend to use ubuntu-20.04-legacy-server-amd64.iso
and same configs and preseed as for 18.04. Works flawlessly.
If you decide to use AutoInstall, you may separately prepare an iso with 'cidata' label, upload it to datastore and reference in packer config.
Hi,
I am using cdrom file and works great with ubuntu 20.*
cd_files = ["./cdrom/meta-data", "./cdrom/user-data"]
cd_label = "cidata"
your vm will have ubuntu iso for install and another cd for autoinstall