Preparing An Ubuntu 22.x VM for Cloud-init & VMware Aria Automation

Overview I recently wanted to create a template in vSphere that I would use from VMware Aria Automation. I did not want to use vSphere customisation specifications, but rather cloud-init (and just cloud-init). There are many posts out there all differing from one another on how to prepare...