Improve setup script clarity: reduce verbosity and fix confusing messages
This commit is contained in:
parent
6887773b45
commit
1f57a8c77a
2 changed files with 4 additions and 6 deletions
|
|
@ -4189,7 +4189,7 @@ if [ "$TEMP_MONITORING_AVAILABLE" = true ] && [ "$PULSE_IS_CONTAINERIZED" = true
|
|||
chmod +x "$PROXY_INSTALLER"
|
||||
|
||||
# Run installer with Pulse server as fallback
|
||||
INSTALL_OUTPUT=$("$PROXY_INSTALLER" --ctid "$PULSE_CTID" --pulse-server "$PULSE_URL" 2>&1)
|
||||
INSTALL_OUTPUT=$("$PROXY_INSTALLER" --ctid "$PULSE_CTID" --pulse-server "$PULSE_URL" --quiet 2>&1)
|
||||
INSTALL_STATUS=$?
|
||||
|
||||
if [ -n "$INSTALL_OUTPUT" ]; then
|
||||
|
|
@ -4322,11 +4322,11 @@ if [ "$SKIP_TEMPERATURE_PROMPT" = true ]; then
|
|||
|
||||
if [ -n "$DETECTED_CTID" ]; then
|
||||
# Was deployed for containerized Pulse - use --ctid mode
|
||||
INSTALLER_ARGS="--ctid $DETECTED_CTID --pulse-server $PULSE_URL"
|
||||
INSTALLER_ARGS="--ctid $DETECTED_CTID --pulse-server $PULSE_URL --quiet"
|
||||
else
|
||||
# Fallback to host-mode installation (works for standalone nodes and cluster nodes with external Pulse)
|
||||
# We use --standalone flag to indicate host-level installation without container integration
|
||||
INSTALLER_ARGS="--standalone --http-mode --pulse-server $PULSE_URL"
|
||||
INSTALLER_ARGS="--standalone --http-mode --pulse-server $PULSE_URL --quiet"
|
||||
fi
|
||||
|
||||
if [ -n "$INSTALLER_ARGS" ]; then
|
||||
|
|
@ -4557,7 +4557,7 @@ elif [ "$TEMP_MONITORING_AVAILABLE" = true ]; then
|
|||
PROXY_INSTALLER=$(mktemp)
|
||||
if curl -fsSL "$PROXY_INSTALLER_URL" -o "$PROXY_INSTALLER" 2>/dev/null; then
|
||||
chmod +x "$PROXY_INSTALLER"
|
||||
if "$PROXY_INSTALLER" --standalone --http-mode --pulse-server "$PULSE_URL"; then
|
||||
if "$PROXY_INSTALLER" --standalone --http-mode --pulse-server "$PULSE_URL" --quiet; then
|
||||
echo " ✓ pulse-sensor-proxy installed and registered with Pulse"
|
||||
STANDALONE_PROXY_DEPLOYED=true
|
||||
TEMPERATURE_ENABLED=true
|
||||
|
|
|
|||
|
|
@ -1253,8 +1253,6 @@ if ! id -u pulse-sensor-proxy >/dev/null 2>&1; then
|
|||
print_info "Creating pulse-sensor-proxy service account..."
|
||||
useradd --system --user-group --no-create-home --shell /usr/sbin/nologin pulse-sensor-proxy
|
||||
print_info "Service account created"
|
||||
else
|
||||
print_info "Service account pulse-sensor-proxy already exists"
|
||||
fi
|
||||
|
||||
# Ensure group exists (in case user was created without it)
|
||||
|
|
|
|||
Loading…
Reference in a new issue