Create a Proxmox VM template. More information: https://pve.proxmox.com/pve-docs/qm.1.html.
qm template vm_id