Template VM can be build like that, you just need to create a configuration file, so the variables in the template file get proper values:
packer build --var-file configuration.json templates/archlinux-x86_64.json
Packer template and scripts to generate Arch Linux virtual machine templates in Proxmox.
Shell
Template VM can be build like that, you just need to create a configuration file, so the variables in the template file get proper values:
packer build --var-file configuration.json templates/archlinux-x86_64.json