]> git.proxmox.com Git - qemu-server.git/commit
add is_template sub
authorAlexandre Derumier <aderumier@odiso.com>
Thu, 14 Feb 2013 10:58:50 +0000 (11:58 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 15 Feb 2013 06:51:09 +0000 (07:51 +0100)
commit624361b34ad95b557f6d65b597ec031565f9a415
tree513caf919ae42d3ad47cc10856908f752b05b794
parent04a69bb4fecdb417cf5d02e178ac93f6c0c5b7d6
add is_template sub

return 1 if vm is a full template (all disks are base image)
return 2 if vm is a semi-tempalte (mix of base and non-base image)

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