From 325288f099ec251b9c5c3c59337d59a99fdb70dd Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 23 Dec 2023 09:24:52 -0500 Subject: [PATCH] Update add-tailscale-lxc.sh tweak --- misc/add-tailscale-lxc.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/misc/add-tailscale-lxc.sh b/misc/add-tailscale-lxc.sh index e0f666af..68062908 100644 --- a/misc/add-tailscale-lxc.sh +++ b/misc/add-tailscale-lxc.sh @@ -8,7 +8,7 @@ function header_info { clear cat <<"EOF" - ______ _ __ __ + ______ _ __ __ /_ __/___ _(_) /_____________ _/ /__ / / / __ `/ / / ___/ ___/ __ `/ / _ \ / / / /_/ / / (__ ) /__/ /_/ / / __/ @@ -27,6 +27,7 @@ while true; do esac done header_info +echo "Loading..." function msg() { local TEXT="$1" echo -e "$TEXT" @@ -56,7 +57,7 @@ cat <>$CTID_CONFIG_PATH lxc.cgroup2.devices.allow: c 10:200 rwm lxc.mount.entry: /dev/net/tun dev/net/tun none bind,create=file EOF - +header_info msg "Installing Tailscale..." lxc-attach -n $CTID -- bash -c "$(curl -fsSL https://tailscale.com/install.sh)" &>/dev/null || exit msg "Installed Tailscale"