]> git.proxmox.com Git - pve-manager.git/commit
ui: utils: monitor_ceph_installed: avoid setting nodename to localhost
authorAaron Lauterer <a.lauterer@proxmox.com>
Thu, 20 Apr 2023 12:31:41 +0000 (14:31 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 22 Apr 2023 07:50:42 +0000 (09:50 +0200)
commitc2175df21f92e6badd1d47b7d5a542522468c011
tree3c6c144ae0fba44247cc3955ed17fd9ca64c8e7d
parentf16342f37e9a5cbbe9e0dcd6efc0a18b7217c059
ui: utils: monitor_ceph_installed: avoid setting nodename to localhost

If a user is accessing the Ceph panel via Datacenter -> Ceph, then the
install & config wizard might be shown. The nodename that is passed to
the wizard  will decide the ID of the initial MON and MGR services.

Therefore, don't fall back to 'localhost' but the actual name of the
node to which we are connected to. The result will be that the first MON
and MGR will have the expected ID instead of 'localhost'.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
www/manager6/Utils.js