aracloud / packer-proxmox-ubuntu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ubuntu 20.04 Server base template with packer under proxmox


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 ```

About


Languages

Language:Shell 100.0%