mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-26 01:15:07 +00:00
ext6migrate: add LVM-Thin to manager6
shows the option to add lvmthin storage Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
fbf6e7b412
commit
c3378f7b3e
@ -41,6 +41,8 @@ Ext.define('PVE.dc.StorageView', {
|
|||||||
editor = 'PVE.storage.GlusterFsEdit';
|
editor = 'PVE.storage.GlusterFsEdit';
|
||||||
} else if (type === 'lvm') {
|
} else if (type === 'lvm') {
|
||||||
editor = 'PVE.storage.LVMEdit';
|
editor = 'PVE.storage.LVMEdit';
|
||||||
|
} else if (type === 'lvmthin') {
|
||||||
|
editor = 'PVE.storage.LvmThinEdit';
|
||||||
} else if (type === 'iscsi') {
|
} else if (type === 'iscsi') {
|
||||||
editor = 'PVE.storage.IScsiEdit';
|
editor = 'PVE.storage.IScsiEdit';
|
||||||
} else if (type === 'rbd') {
|
} else if (type === 'rbd') {
|
||||||
@ -123,6 +125,15 @@ Ext.define('PVE.dc.StorageView', {
|
|||||||
win.show();
|
win.show();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
text: PVE.Utils.format_storage_type('lvmthin'),
|
||||||
|
iconCls: 'pve-itype-icon-storage',
|
||||||
|
handler: function() {
|
||||||
|
var win = Ext.create('PVE.storage.LvmThinEdit', {});
|
||||||
|
win.on('destroy', reload);
|
||||||
|
win.show();
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
text: PVE.Utils.format_storage_type('nfs'),
|
text: PVE.Utils.format_storage_type('nfs'),
|
||||||
iconCls: 'pve-itype-icon-network-server',
|
iconCls: 'pve-itype-icon-network-server',
|
||||||
|
Loading…
Reference in New Issue
Block a user