]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: cephwizard: add networkselector widget
authorTim Marx <t.marx@proxmox.com>
Wed, 12 Jun 2019 08:56:32 +0000 (10:56 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 12 Jun 2019 09:19:55 +0000 (11:19 +0200)
Signed-off-by: Tim Marx <t.marx@proxmox.com>
www/manager6/ceph/CephInstallWizard.js

index 5013066cba7207fbc7421185daa17427075448f5..2adf7ed3816555a0362a96305ca8840eb728a71d 100644 (file)
@@ -183,9 +183,8 @@ Ext.define('PVE.ceph.CephInstallWizard', {
                        value: gettext('Ceph cluster configuration') + ':'
                    },
                    {
-                       xtype: 'textfield',
+                       xtype: 'proxmoxNetworkSelector',
                        name: 'network',
-                       vtype: 'IP64CIDRAddress',
                        value: '',
                        fieldLabel: 'Public Network IP/CIDR',
                        bind: {
@@ -197,11 +196,11 @@ Ext.define('PVE.ceph.CephInstallWizard', {
                        }
                    },
                    {
-                       xtype: 'textfield',
+                       xtype: 'proxmoxNetworkSelector',
                        name: 'cluster-network',
-                       vtype: 'IP64CIDRAddress',
                        fieldLabel: 'Cluster Network IP/CIDR',
                        allowBlank: true,
+                       autoSelect: false,
                        emptyText: gettext('Same as Public Network')
                    }
                    // FIXME: add hint about cluster network and/or reference user to docs??