Commit 57dc77fe authored by Dietmar Maurer's avatar Dietmar Maurer

GUI: allow to add ZFS storage

parent 3936e994
......@@ -156,23 +156,23 @@ Ext.define('PVE.dc.StorageView', {
win.on('destroy', reload);
win.show();
}
}
/* the following type are conidered unstable
* so we do not enable that on the GUI for now
},
{
text: PVE.Utils.format_storage_type('sheepdog'),
text: PVE.Utils.format_storage_type('zfs'),
iconCls: 'pve-itype-icon-network-server',
handler: function() {
var win = Ext.create('PVE.storage.SheepdogEdit', {});
var win = Ext.create('PVE.storage.ZFSEdit', {});
win.on('destroy', reload);
win.show();
}
},
}
/* the following type are conidered unstable
* so we do not enable that on the GUI for now
{
text: PVE.Utils.format_storage_type('zfs'),
text: PVE.Utils.format_storage_type('sheepdog'),
iconCls: 'pve-itype-icon-network-server',
handler: function() {
var win = Ext.create('PVE.storage.ZFSEdit', {});
var win = Ext.create('PVE.storage.SheepdogEdit', {});
win.on('destroy', reload);
win.show();
}
......
......@@ -58,7 +58,7 @@ Ext.define('PVE.storage.ZFSInputPanel', {
xtype: me.create ? 'textfield' : 'displayfield',
name: 'target',
height: 22, // hack: set same height as text fields
value: 'iqn.2010-09.org.openindiana:omnios:....',
value: '',
fieldLabel: gettext('Target'),
allowBlank: false
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment