Have VM Partition auto-resize when deploying to vSphere

for reference:
I’m using vSphere 6.7, with Rancher 2.7 trying to use Ubuntu VM Templates

As the title says, I’m trying to create templates that are generic, and ready for use with Rancher. These templates are created using Packer / Cloud Init. The disk layout is using multiple partitions and also LVM.

Is there a specific configuration that I have to setup in the template, or in Rancher in order to have the usable space within a partition/lvm to automatically expand to the new disk size (if defined) upon node creation?