Creating Cloud Image Template on Proxmox
- Follow commands below for Rocky Linux and Ubuntu cloud images.
- Once template is created, VMs can be cloned from the template.
1. Preparations
2. Get Cloud Image
3. Create new VM with 4 GB (4096 MB) RAM on storage vm_ct with vmbr0 bridge
4. Import downloaded image to newly created VM
5. Attach imprted disk to VM
6. Attach logical volume cloudinit drive to the new VM
7. Set to Boot from cloudinit
8. Enable serial console for use with Web VNC within Proxmox
9. Set defaults from Proxmox (PVE) GUI
- User:
- Password:
- DNS domain: (uses host settings by default)
- DNS servers: (uses host settings by default)
- SSH public key:
- IP Config (net0): (make sure to select DHCP for IPv4 or provide Static value)
10. DO NOT START THIS VM to preserve clean machine id, etc.
11. At this point, if needed, Processors and Memory can be changed as needed.
12. Right-Click and Convert to Template