From: ShaoHe Feng <shaohef(a)linux.vnet.ibm.com>
Add clone action in controller
Signed-off-by: ShaoHe Feng <shaohef(a)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