Update add-tailscale-lxc.sh

This commit is contained in:
tteckster 2022-07-03 19:53:08 -04:00 committed by GitHub
parent 29283581e4
commit 42bf5b2ba5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,6 +44,9 @@ lxc.cgroup2.devices.allow: c 10:200 rwm
lxc.mount.entry: /dev/net/tun dev/net/tun none bind,create=file
EOF
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/misc/add-tailscale-install.sh)" || exit
# lxc-attach -n $CTID -- bash -c "$(curl -fsSL https://tailscale.com/install.sh)" &>/dev/null || exit
msg "\e[1;33m Finished....Reboot ${CTID} LXC to apply the changes \e[0m"
msg "⏳ Installing Tailscale..."
lxc-attach -n $CTID -- bash -c "$(curl -fsSL https://tailscale.com/install.sh)" &>/dev/null || exit
msg "⌛ Installed Tailscale"
sleep 2
msg "\e[1;32m ✔ Completed Successfully!\e[0m"
msg "Reboot ${CTID} LXC to apply the changes, then run tailscale up in the LXC console"