A quick script to spin up a Proxmox cloud-init template base
- Start a shell session on the Proxmox host
- Clone the script -
git clone https://github.com/brendanlees/pve-cloudinit - Edit the script and update the values under the
'# --- defaults'area -nano cloud-init.sh - Make it executable -
chmod +x cloud-init.sh - Run it! -
sudo sh cloud-init.sh
(optional) Under 'Options', set :
Use tablet for pointer= NoCPU= HostMemory= uncheck 'Ballooning Device'
Under 'Cloud-Init' options, set:
IP Config= DHCPUpgrade Packages= Yes- Add you SSH pub key, user credentials
- Don't run the VM - right-click and
Convert To Template