Hi
My tract is slightly different but it might help. I'm using PVE 5 and SaltStack to clone a template, rename and re-IP with Cloud-init, and finally install applications, Apache etc.
I used a Cloud-init image to make things easier (https://cdimage.debian.org/cdimage/openstack/), that way I...