This shell script repacks(!) an EFI and MBR bootable auto installation iso9660 container with cloud-init consumable user-data using a modified grub.cfg, custom user-data and meta-data files based on the latest (daily) Ubuntu 22.04.x LTS ISO.
This script is build upon many sources over GitHub and AskUbuntu as well as sample by PudgetSystems, if I remember correctly. Especially the xorriso part is not my work, I only did the research and bash stuff.
Note, that using an entirely automated ISO outside AND INSIDE of testing environments can have fatal results for your project. You will be notified of that once each use unless you alternate the script yourself.
Note as well, that Subiquity in itself still suffers from some rather annoying bugs. Only use Cloud-init and Subiquity if you can handle those bugs or stick to a different autoinstallation method of your choice.
The directory tree with additional Build-ISO subdirectory is intentional!
You can either git clone the repository directly or download an archived version. After the git clone, youmight need to set the exec bit via chmod.
Report bugs and ideas for improvement of this script!!