[Kimchi-devel] [PATCH V2 2/4] clone template: update controller
shaohef at linux.vnet.ibm.com
shaohef at linux.vnet.ibm.com
Thu Feb 13 09:35:52 UTC 2014
From: ShaoHe Feng <shaohef at linux.vnet.ibm.com>
Add clone action in controller
Signed-off-by: ShaoHe Feng <shaohef at linux.vnet.ibm.com>
---
src/kimchi/control/templates.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/kimchi/control/templates.py b/src/kimchi/control/templates.py
index ce1dda4..58dafcc 100644
--- a/src/kimchi/control/templates.py
+++ b/src/kimchi/control/templates.py
@@ -40,6 +40,7 @@ class Template(Resource):
"memory", "cdrom", "disks", "networks",
"graphics"]
self.uri_fmt = "/templates/%s"
+ self.clone = self.generate_action_handler('clone')
@property
def data(self):
--
1.8.4.2
More information about the Kimchi-devel
mailing list