I even recently tried automating this but quickly realized I was falling into an XKCD trap because the process is so damn painful.
There are modules for setting up ssh, adding users, installing packages, etc.
https://cloudinit.readthedocs.io/en/latest/index.html
I even recently tried automating this but quickly realized I was falling into an XKCD trap because the process is so damn painful.