michaeltandy / ubuntu-desktop-22.04-autoinstall

7 stars 4 forks source link

Ubuntu 22.04 Desktop Autoinstall

THIS MAKES AN ISO THAT WILL OVERWRITE THE DISK OF ANY COMPUTER THAT BOOTS IT WITHOUT ASKING FOR CONFIRMATION so don't boot it in any computer you don't want wiped.

This script makes an auto-installer for Ubuntu 22.04 Desktop.

This is very similar to Molnár Péter's network-based autoinstall but (a) that needs a network connection, and (b) that installs the server version, then installs more packages to convert it into a desktop version - resulting in an install that's different to an install from the desktop ISO (e.g. network interfaces that aren't managed by NetworkManager)

I also drew inspiration from covertsh's ubuntu autoinstall generator which is far higher effort than my script here!

What it does

You might have to tweak things if you want it to line up closely with what you'd get from installing with the Desktop ISO - I'm targeting business laptops, so I've only tested with EFI/secure boot.

Two ways to get packages into your custom install

I've experimented with two ways to customise the packages in the installation, while still allowing offline installation.

Places to customise

Other useful info