Run the following command to validate the packer template and then build the image:
packer validate template-name.json && packer build template-name.json
Create a json file with your proxmox username and api token: secrets.json
Put the following in the file:
{
"username": "user@pve",
"password": "password123"
}