2

I'm searching for a method to make a bootable USB that automatically installs Ubuntu 22.04 with a desktop environment. I had a setup for Ubuntu Server 20.04 (installing gnome during the setup) by using cloud-init and ubuntu-autoinstall-generator.

However, that ubuntu-autoinstall-generator does no longer work with the changed ISO layout of Ubuntu 22.04 server. I've tried to manually pack the user-data into the ISO, but I had no luck. Either the installer just started as if there were no user-data YAML (ubuntu-22-04-autoinstall-method or how-to-make-ubuntu-autoinstall-iso-with-cloud-init-in-ubuntu-21-10) or the installer crashed at some point (this 20.04 gist combined with this).

I found this Python tool, but the tool itself crashes before doing anything useful, no matter how I installed it.

Does anyone have a reliable method of creating auto installing ISOs for Ubuntu Server 22.04?

To be clear: I want a desktop environment in the end, so using the Desktop version of Ubuntu would be beneficial. However, I wasn't able to get preseed working on 20.04, so I switched to the server image and cloud-init. And I would prefer to stay with cloud-init, as it seems to be more future-proof. (and I have cloud-init already configured)

McToel
  • 131

0 Answers0