#!/usr/bin/env bash # scripts/onboard/steps/30-install-tailscale.sh — install and join Tailscale on remote node # # TODO: skip if tailscale already installed and connected # TODO: install via https://tailscale.com/install.sh (or distro pkg) # TODO: gate on operator-provided auth key (TAILSCALE_AUTH_KEY env var; never hardcode) # TODO: tailscale up --auth-key=$TAILSCALE_AUTH_KEY --hostname= # TODO: verify node appears in tailscale status within timeout # TODO: gate on deploy_autonomy=true in node.yaml set -euo pipefail : "${REPO_ROOT:?REPO_ROOT is not set — run via onboard.sh}" source "${REPO_ROOT}/scripts/onboard/lib/remote.sh" STEP_NAME="30-install-tailscale" step "[$STEP_NAME] TODO — not yet implemented"