[pve-devel] [PATCH 1/3] add template config option

Alexandre Derumier aderumier at odiso.com
Thu Apr 18 17:05:29 CEST 2013


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 PVE/QemuServer.pm |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index e0309c3..e72b2c9 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -358,6 +358,12 @@ EODESC
 	typetext => '[[order=]\d+] [,up=\d+] [,down=\d+] ',
 	description => "Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the 'up' or 'down' delay in seconds, which specifies a delay to wait before the next VM is started or stopped.",
     },
+    template => {
+	optional => 1,
+	type => 'boolean',
+	description => "Enable/disable Template.",
+	default => 0,
+    },
     args => {
 	optional => 1,
 	type => 'string',
-- 
1.7.10.4




More information about the pve-devel mailing list