[pve-devel] [PATCH] always list copy and clone for cloning
Alexandre DERUMIER
aderumier at odiso.com
Fri Feb 7 09:32:50 CET 2014
cloning from snapshot is not possible for qcow2 files.
we need to check if feature is available in storage plugin.
(through api vm_feature)
----- Mail original -----
De: "Stefan Priebe" <s.priebe at profihost.ag>
À: pve-devel at pve.proxmox.com
Envoyé: Jeudi 6 Février 2014 14:04:48
Objet: [pve-devel] [PATCH] always list copy and clone for cloning
Signed-off-by: Stefan Priebe <s.priebe at profihost.ag>
---
www/manager/qemu/Clone.js | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/www/manager/qemu/Clone.js b/www/manager/qemu/Clone.js
index 3409c85..28d9a1f 100644
--- a/www/manager/qemu/Clone.js
+++ b/www/manager/qemu/Clone.js
@@ -137,10 +137,7 @@ Ext.define('PVE.window.Clone', {
col1.push(me.targetSel);
- var modelist = [['copy', gettext('Full Clone')]];
- if (me.isTemplate) {
- modelist.push(['clone', gettext('Linked Clone')]);
- }
+ var modelist = [['copy', gettext('Full Clone')], ['clone', gettext('Linked Clone')]];
me.kv1 = Ext.create('PVE.form.KVComboBox', {
fieldLabel: gettext('Mode'),
--
1.7.10.4
_______________________________________________
pve-devel mailing list
pve-devel at pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
More information about the pve-devel
mailing list