diff --git a/internal/api/config_handlers.go b/internal/api/config_handlers.go index 9131eb8..a1ec8c0 100644 --- a/internal/api/config_handlers.go +++ b/internal/api/config_handlers.go @@ -3732,10 +3732,6 @@ if [ "$PULSE_IS_CONTAINERIZED" = true ] && [ -n "$PULSE_CTID" ]; then echo "$INSTALL_OUTPUT" | grep -E "✓|⚠️|ERROR" || true fi - if [ -n "$INSTALL_OUTPUT" ]; then - echo "$INSTALL_OUTPUT" | grep -E "✓|⚠️|ERROR" || true - fi - if [ $INSTALL_STATUS -eq 0 ]; then # Verify proxy health PROXY_HEALTHY=false diff --git a/scripts/install-sensor-proxy.sh b/scripts/install-sensor-proxy.sh index 8716d65..ed8cb04 100755 --- a/scripts/install-sensor-proxy.sh +++ b/scripts/install-sensor-proxy.sh @@ -351,9 +351,13 @@ if command -v pvecm >/dev/null 2>&1; then print_info "Authorizing proxy key on node $node_ip..." IS_LOCAL=false - if [[ " $LOCAL_IPS " == *" $node_ip "* ]]; then - IS_LOCAL=true - fi + # Check if node_ip matches any of the local IPs (exact match with word boundaries) + for local_ip in $LOCAL_IPS; do + if [[ "$node_ip" == "$local_ip" ]]; then + IS_LOCAL=true + break + fi + done if [[ " $LOCAL_HOSTNAMES " == *" $node_ip "* ]]; then IS_LOCAL=true fi