Add 24 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 14s

This commit is contained in:
j
2026-02-26 15:04:20 +13:00
parent 26b74f91a5
commit 1a61eec6ac
12 changed files with 423 additions and 0 deletions

13
tailscale-relay/ssh.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
# shellcheck disable=SC1091
source "${AGENT_PATH}/common.sh"
_check_required_env_vars "CONTAINER_NAME"
if ! lxc info "${CONTAINER_NAME}" 2>/dev/null | grep -q "Status: RUNNING"; then
_die "Container ${CONTAINER_NAME} is not running. Start it first."
fi
echo "Entering Tailscale Relay container shell..."
echo "Type 'exit' to leave the container."
echo ""
lxc exec "${CONTAINER_NAME}" -- /bin/bash