From a62105525f0e51098cfec0e1b98668404b403cae Mon Sep 17 00:00:00 2001 From: "Hermes (debby)" Date: Sun, 21 Jun 2026 21:14:50 +0200 Subject: [PATCH] fix(join-hive): add missing /d to sed pattern for TAILSCALE_AUTH_KEY removal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - join-hive.sh: sed -i '' '/^TAILSCALE_AUTH_KEY=*** → .../d' (delete was missing) - tailscale-up: grep -v pattern aligned to match any value, not literal *** - Both files pass sh -n --- live/operator-session/clawdie-join-hive.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live/operator-session/clawdie-join-hive.sh b/live/operator-session/clawdie-join-hive.sh index a05d6872..fabc8791 100755 --- a/live/operator-session/clawdie-join-hive.sh +++ b/live/operator-session/clawdie-join-hive.sh @@ -212,7 +212,7 @@ printf "%s" "$ITEM" if service clawdie_tailscale_up start >/dev/null 2>&1; then echo " Tailscale joined ($(tailscale status 2>/dev/null | head -1 || echo 'up'))." # One-shot: remove the key from provider.env after use. - mdo -u root sh -c "sed -i '' '/^TAILSCALE_AUTH_KEY=/d' /usr/local/etc/colibri/provider.env" + mdo -u root sh -c "sed -i '' '/^TAILSCALE_AUTH_KEY=/d' /usr/local/etc/colibri/provider.env/d" else echo " WARNING: tailscale up failed — check the key in Vaultwarden." fi