From 5de8105242fbd28b736964b4456011dfddbbc897 Mon Sep 17 00:00:00 2001 From: jtricerolph Date: Tue, 28 Jul 2026 22:14:53 +0000 Subject: [PATCH] Add plant to --only dispatch's VALID allowlist deploy_plant() and its --only case entry were already wired in, but the separate VALID allowlist string gating --only wasn't updated, so --only plant failed with "Unknown service 'plant'". Co-Authored-By: Claude Sonnet 5 --- install-stack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-stack.sh b/install-stack.sh index cb9ead9..be94a07 100755 --- a/install-stack.sh +++ b/install-stack.sh @@ -2497,7 +2497,7 @@ SUMMARY # Sources existing credentials and redeploys just the named service. if [[ "${1:-}" == "--only" ]]; then ONLY="${2:-}" - VALID="postgres auth portal npm management noticeboard settings cashup hk-planner twin-optimiser room-planner maintenance forecasting rates reports kitchen kds wages utilities mqtt-broker hvac calendar" + VALID="postgres auth portal npm management noticeboard settings cashup hk-planner twin-optimiser room-planner maintenance forecasting rates reports kitchen kds wages utilities mqtt-broker hvac calendar plant" [[ -z "$ONLY" ]] && msg_error "Usage: install-stack.sh --only (one of: ${VALID})" grep -qw "$ONLY" <<< "$VALID" || msg_error "Unknown service '${ONLY}'. Valid: ${VALID}" CREDS_FILE=/root/hotel-manage-credentials.txt