Add standardized Ubuntu LXC security install process with npm and codex

This commit is contained in:
root
2026-05-10 20:08:47 +00:00
commit be6ddf1416
4 changed files with 158 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
REPO_ROOT="$(cd -- "${SCRIPT_DIR}/.." && pwd)"
if [[ "${EUID}" -ne 0 ]]; then
exec sudo "${REPO_ROOT}/scripts/bootstrap_ubuntu_lxc_security.sh" "$@"
fi
exec "${REPO_ROOT}/scripts/bootstrap_ubuntu_lxc_security.sh" "$@"