From 809676cb4fce627f2b19784d11deec66e369b0be Mon Sep 17 00:00:00 2001 From: "courtmanr@gmail.com" Date: Tue, 25 Nov 2025 10:20:17 +0000 Subject: [PATCH] Further reduce setup script verbosity: silence token checks and consolidate permission logs --- internal/api/config_handlers.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/api/config_handlers.go b/internal/api/config_handlers.go index 69d55ba94..0d67217a0 100644 --- a/internal/api/config_handlers.go +++ b/internal/api/config_handlers.go @@ -3739,9 +3739,9 @@ echo "" PULSE_IP_PATTERN=$(echo "%s" | sed 's/\./\-/g') # Check for old Pulse tokens from the same Pulse server and offer to clean them up -echo "Checking for existing Pulse monitoring tokens from this Pulse server..." OLD_TOKENS=$(pveum user token list pulse-monitor@pam 2>/dev/null | grep -E "│ pulse-${PULSE_IP_PATTERN}-[0-9]+" | awk -F'│' '{print $2}' | sed 's/^ *//;s/ *$//' || true) if [ ! -z "$OLD_TOKENS" ]; then + echo "Checking for existing Pulse monitoring tokens from this Pulse server..." TOKEN_COUNT=$(echo "$OLD_TOKENS" | wc -l) echo "" echo "⚠️ Found $TOKEN_COUNT old Pulse monitoring token(s) from this Pulse server (${PULSE_IP_PATTERN}):" @@ -3969,7 +3969,6 @@ if command -v pveversion >/dev/null 2>&1; then PVE_VERSION=$(pveversion --verbose 2>/dev/null | grep "pve-manager" | awk -F'/' '{print $2}' | cut -d'.' -f1) fi -echo "Setting up additional permissions..." EXTRA_PRIVS=() if [ "$HAS_SYS_AUDIT" = true ]; then