Improve setup script output by hiding irrelevant Docker/proxy info

This commit is contained in:
courtmanr@gmail.com 2025-11-25 10:01:41 +00:00
parent 7b4152f771
commit 0c6fd01ff2
2 changed files with 9 additions and 8 deletions

View file

@ -5005,13 +5005,8 @@ if [ "$IS_STANDALONE_NODE" = true ] && [ "$TEMPERATURE_ENABLED" = true ] && [ "$
echo " from this node using secure SSH with forced commands."
echo ""
else
echo " Could not retrieve proxy public key from Pulse server"
echo ""
echo "This is normal if:"
echo " • Pulse is not running in a container (uses direct SSH)"
echo " • The temperature proxy service is not installed on the host"
echo ""
echo "Temperature monitoring will use the standard SSH key configured earlier."
echo " Using standard SSH key (proxy key not available)"
echo " (This is normal for non-containerized Pulse)"
echo ""
fi
fi

View file

@ -3517,7 +3517,13 @@ else
print_info "Temperature monitoring will use the secure host-side proxy"
print_info ""
if [[ "$STANDALONE" == true ]]; then
# Only show Docker configuration instructions if Pulse is actually running in Docker on this host
IS_PULSE_DOCKER=false
if command -v docker >/dev/null 2>&1 && docker ps --format '{{.Names}}' 2>/dev/null | grep -q '^pulse$'; then
IS_PULSE_DOCKER=true
fi
if [[ "$STANDALONE" == true ]] && [[ "$IS_PULSE_DOCKER" == true ]]; then
echo ""
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo " Docker Container Configuration Required"