]> git.proxmox.com Git - qemu-server.git/commit - PVE/API2/Qemu.pm
add template_create
authorAlexandre Derumier <aderumier@odiso.com>
Thu, 14 Feb 2013 10:58:49 +0000 (11:58 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 15 Feb 2013 06:50:32 +0000 (07:50 +0100)
commit04a69bb4fecdb417cf5d02e178ac93f6c0c5b7d6
treed24a3bf4408af93753b324d44159c4217ff89cf8
parentef1c835d19e1f2fd587875373cc25a69db2033fc
add template_create

qm template <vmid> [-disk virtio0]

convert a full vm to a template (or only a disk if specify)

we orignal disk to /base (file) or base- (lvm,rbd,sheepdog,nexenta)
we create a snapshot @base if storage need it for clone
we protect the volume or snapshot

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
PVE/API2/Qemu.pm
PVE/QemuServer.pm
qm