ProxCP KVM Templates

From ProxCP Documentation
Revision as of 13:19, 4 January 2019 by Proxcp (talk | contribs)

KVM Templates Overview

ProxCP offers support for KVM creation and rebuilding from templates. Pre-built ProxCP KVM templates are available on our template distribution site.

Proxmox does not currently offer a mechanism to share KVM templates between Proxmox servers. Therefore, you need to download our KVM templates onto every Proxmox node individually.

If you followed our recommendation to assign VMID ranges to Proxmox nodes, the VMIDs of your KVM templates should be less than the VMID range.

  • Continuing our example with node1 (VMID range 1000-2999), the KVM template VMIDs on node1 should be less than 1000
  • For node2 (VMID range 3000-4999), the KVM template VMIDs should be less than 3000

In the ProxCP KVM Templates Admin menu, you can set the template VMID on a per-node level. It is possible that the same KVM template will have a different VMID on different Proxmox nodes.

As of writing, all ProxCP Linux KVM templates support Cloud-Init. The ProxCP Windows KVM templates do not support Cloud-Init.

KVM Templates Installation

  • Download the desired template from our distribution site to your Proxmox server (i.e. wget)
  • Run the following command on your Proxmox server
qmrestore {template file}.vma.lzo {VMID}

The restored VM should appear in Proxmox as a template with all correct settings already. You may need to delete and re-create the cloud-init drive depending on the Proxmox VMID.