Enable ssh at boot for Macos Catalina deployed on Vsphere with packer

Hello Everyone,
I have deployed a macos Catalina VM on Vsphere using packer. Would anyone know how to ensure that ssh is enabled by default once the boot is done ?
I tried to do it following this postinstall script but it did not work packer-plugin-vsphere/postinstall at main · hashicorp/packer-plugin-vsphere · GitHub