]> git.proxmox.com Git - qemu-server.git/commit - PVE/QemuServer.pm
forbid rollback if current config is a template.
authorAlexandre Derumier <aderumier@odiso.com>
Thu, 14 Feb 2013 10:58:52 +0000 (11:58 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 15 Feb 2013 06:52:09 +0000 (07:52 +0100)
commit90b0c6b34a7f2e8482ec514028c8c8863792b123
treec2180b6a572fc75c6e9b916d4a6b178176600b92
parent66aa07141ff54c3f4b761ee1075f6149e3d223b0
forbid rollback if current config is a template.

if a qcow2 current is a template, we can't rollback to a previous snapshot.

(note that file readonly protection do already the job, but we need a clear error message for user)

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