Make cluster setup easier to navigate and verify
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Canceled after 0s

This commit is contained in:
parkel committed 2026-11-26 22:50:40 +01:00
1 parent 185be0fa62
commit 8c33cb07af
11 files changed
+615 -72

No files matched your search

+8 -4
View File
@@ -187,15 +187,19 @@ def interactive_cluster(terminal, password_path):
if configured is None:
return None
cluster, data = configured
passwords = {
entry["name"]: collect_password(
entries = data["cluster"]["panels"]
passwords = {}
for index, entry in enumerate(entries):
terminal.context = (
f"Cluster / Passwords / Panel {index + 1} of {len(entries)}"
)
passwords[entry["name"]] = collect_password(
terminal,
entry,
default=password_path or "" if index == 0 else "",
masked_password=get_password,
)
for index, entry in enumerate(data["cluster"]["panels"])
}
terminal.context = "Cluster / Save configuration"
terminal.heading("Save cluster settings")
terminal.show(
"For automated setup, supply a private password file for each panel."