[pve-devel] new has_feature for 'create_base'
Alexandre DERUMIER
aderumier at odiso.com
Fri Feb 15 18:22:31 CET 2013
mmm, yes, maybe is better to hava a "base" feature. (maybe has_feature('template') ?)
I think we can add it to all storage can be template, except storage we can't rename. (iscsi,isciredirect)
lvm could be also use template but only copy for now. (maybe clone in the futur ?)
what do you think about it ?
----- Mail original -----
De: "Dietmar Maurer" <dietmar at proxmox.com>
À: "Alexandre DERUMIER (aderumier at odiso.com)" <aderumier at odiso.com>
Cc: pve-devel at pve.proxmox.com
Envoyé: Vendredi 15 Février 2013 10:45:12
Objet: new has_feature for 'create_base'
I first thought we can use the ‚clone‘ check, but that results in:
# qm template 200
volume 'local:200/vm-200-disk-1.raw' does not support template/clone
So we need an new feature check like: has_feature(‘base’) ?
More information about the pve-devel
mailing list