I have setup an auto-install (Ubuntu 20.04 live server) with a user-data file.
My goal is to run a script after the installation is completed. So after the last reboot and the steps that happens there (like snap package installations).
The latest step I can find is the "late-commands" but that runs too early. The installation is not complete.
The script should be started right after "Execute cloud user/final scripts" has ended.
I tried doing a work-around with systemctl but I can't really make it run at the right time in the process.