We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3401b76 commit cb462dcCopy full SHA for cb462dc
misc/add-tailscale-lxc.sh
@@ -67,6 +67,9 @@ echo "deb [signed-by=/usr/share/keyrings/tailscale-archive-keyring.gpg] https://
67
apt-get update &>/dev/null
68
apt-get install -y tailscale &>/dev/null
69
' || exit
70
+TAGS=$(awk -F': ' '/^tags:/ {print $2}' /etc/pve/lxc/${CTID}.conf)
71
+TAGS="${TAGS:+$TAGS; }tailscale"
72
+pct set "$CTID" -tags "${TAGS}"
73
msg "\e[1;32m ✔ Installed Tailscale\e[0m"
74
75
msg "\e[1;31m Reboot ${CTID} LXC to apply the changes, then run tailscale up in the LXC console\e[0m"
0 commit comments