[pve-devel] [PATCH] delete template flag from cloned vm

Stefan Priebe s.priebe at profihost.ag
Fri Apr 19 12:58:10 CEST 2013


Signed-off-by: Stefan Priebe <s.priebe at profihost.ag>
---
 PVE/API2/Qemu.pm |    1 +
 1 file changed, 1 insertion(+)

diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index b245257..3de7355 100644
--- a/PVE/API2/Qemu.pm
+++ b/PVE/API2/Qemu.pm
@@ -542,6 +542,7 @@ __PACKAGE__->register_method({
 			next if PVE::QemuServer::parse_drive($opt, $param->{$opt});
 			$conf->{$opt} = $param->{$opt};
                     }
+		    delete($conf->{template});
 
 		}else{
 		    $conf = $param;
-- 
1.7.10.4




More information about the pve-devel mailing list