variables.json contains proxmox connection params:
{
"proxmox_host": "{{env `proxmox_host`}}",
"proxmox_node_name": "pm",
"proxmox_api_user": "root@pam",
"proxmox_api_password": "{{env `proxmox_pass`}}",
}
Define two env variables and export them under your Linux packer client:
export proxmox_host=<Your_PM_Host_IP>
export proxmox_host=<Your_PM_password>
Run packer to build the template ```bash $ packer build -var-file="variables.json" ./packer.json ```