feat/tailscale-vault-autojoin #102

Merged
clawdie merged 2 commits from feat/tailscale-vault-autojoin into main 2026-06-21 21:16:37 +02:00
Owner
No description provided.
clawdie added 2 commits 2026-06-21 21:16:28 +02:00
Adds step [2b] to join-hive: if bw is available and the node is not
yet on Tailscale, fetch the tailscale-auth-key item from Vaultwarden,
write TAILSCALE_AUTH_KEY to provider.env, and trigger tailscale-up.

- Handles both naming variants (tailscale-auth-key / tailscale_auth_key)
- One-shot: key removed from provider.env after successful join
- tailscale-up now reads from provider.env first, legacy key file as fallback
- Graceful: no vault item → clear message, no break
- 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
clawdie merged commit 50629cd7a1 into main 2026-06-21 21:16:37 +02:00
clawdie deleted branch feat/tailscale-vault-autojoin 2026-06-21 21:16:38 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: clawdie/clawdie-iso#102
No description provided.