After struggling quite some time with figuring out how preseeding on Ubuntu 18.04 Desktop works, I figured it out. I was hoping that I could use the same procedure for 20.04 Desktop. Can I?
The ubuntu wiki page on Automated Server Installs for 20.04 sounds like it has been removed in favor of a new, and hence different, mode of operation:
The server installer for 20.04 supports a new mode of operation: automated installation, autoinstallation for short. You might also know this feature as unattended or handsoff or preseeded installation. [...]
preseeds are the way to automate an installer based on debian-installer (aka d-i).
autoinstalls for the new server installer differ from preseeds in the following main ways:
- the format is completely different (cloud-init config, usually yaml, vs debconf-set-selections format)
- when the answer to a question is not present in a preseed, d-i stops and asks the user for input. autoinstalls are not like this: by default, if there is any autoinstall config at all, the installer takes the default for any unanswered question (and fails if there is no default). You can designate particular sections in the config as "interactive", which means the installer will still stop and ask about those.
- Can I use the old procedure of preseeding with a preseed file with
- Does this new "autoinstall" work only on Ubuntu 20.04 Server or also on Ubuntu 20.04 Desktop?
- Or if the previous answers are both "No, that doesn't work on Ubuntu 20.04 Desktop.", what is the recommended way to automate an installation of Ubuntu 20.04 Desktop?