Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Install Ubuntu 20 with autoinstall #315

Open
dkirrane opened this issue May 31, 2020 · 2 comments
Open

Install Ubuntu 20 with autoinstall #315

dkirrane opened this issue May 31, 2020 · 2 comments

Comments

@dkirrane
Copy link

dkirrane commented May 31, 2020

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"
      ],
@VladRassokhin
Copy link
Collaborator

VladRassokhin commented Jun 6, 2020

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.

@shahwahed
Copy link

shahwahed commented Feb 24, 2021

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants