ui: ceph install: fixup configuration network fields

It's not only 'IPv4/CIDR' but 'IP/CIDR', IPv6 works too so generalize
this.
Also make the cluster network emptytext a bit more expressive.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-03-12 11:45:27 +01:00
parent fc360d8554
commit 2248c6c828

View File

@ -147,16 +147,16 @@ Ext.define('PVE.ceph.CephInstallWizard', {
name: 'network',
vtype: 'IPCIDRAddress',
value: '',
fieldLabel: 'Network IPv4/CIDR',
fieldLabel: 'Public Network IP/CIDR',
allowBlank: false
},
{
xtype: 'textfield',
name: 'cluster-network',
vtype: 'IPCIDRAddress',
fieldLabel: 'Cluster-Network IPv4/CIDR',
fieldLabel: 'Cluster Network IP/CIDR',
allowBlank: true,
emptyText: gettext('Network')
emptyText: gettext('Same as Public Network')
}
],
advancedColumn1: [
@ -266,4 +266,4 @@ Ext.define('PVE.ceph.CephInstallWizard', {
}
}
]
});
});