Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
fix: use consistent number-based prompts in setup script
Richard Courtman27db397f62ba
diff --git a/internal/api/config_handlers.go b/internal/api/config_handlers.goindex 73cda80890..8e8e01745b 100644--- a/internal/api/config_handlers.go+++ b/internal/api/config_handlers.go@@ -3838,11 +3838,11 @@ if [ "$SSH_ALREADY_CONFIGURED" = true ]; thenecho ""echo "What would you like to do?"echo ""- echo " [K]eep - Leave temperature monitoring enabled (no changes)"- echo " [R]emove - Disable and remove SSH access"- echo " [S]kip - Skip this section"+ echo " [1] Keep - Leave temperature monitoring enabled (no changes)"+ echo " [2] Remove - Disable and remove SSH access"+ echo " [3] Skip - Skip this section"echo ""- echo -n "Your choice [K/r/s]: "+ echo -n "Your choice [1/2/3]: "if [ -t 0 ]; thenread -p "> " -n 1 -r SSH_ACTION@@ -3854,13 +3854,13 @@ if [ "$SSH_ALREADY_CONFIGURED" = true ]; thenecho "$SSH_ACTION"elseecho "(No terminal available - keeping existing configuration)"- SSH_ACTION="k"+ SSH_ACTION="1"fifiecho ""echo ""- if [[ $SSH_ACTION =~ ^[Rr]$ ]]; then+ if [[ $SSH_ACTION == "2" ]]; thenecho "Removing temperature monitoring configuration..."# Remove the SSH key from authorized_keys@@ -3875,7 +3875,7 @@ if [ "$SSH_ALREADY_CONFIGURED" = true ]; thenecho "Temperature monitoring has been disabled."echo "Note: lm-sensors package was NOT removed (in case you use it elsewhere)"TEMPERATURE_ENABLED=false- elif [[ $SSH_ACTION =~ ^[Ss]$ ]]; then+ elif [[ $SSH_ACTION == "3" ]]; thenecho "Temperature monitoring configuration unchanged."elseif [ "$SSH_LEGACY_KEY" = true ]; then