All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 14s
14 lines
415 B
Bash
Executable File
14 lines
415 B
Bash
Executable File
#!/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
|