Browse Source

Update add-tailscale-lxc.sh

tteckster 3 years ago
parent
commit
42bf5b2ba5
1 changed files with 6 additions and 3 deletions
  1. 6 3
      misc/add-tailscale-lxc.sh

+ 6 - 3
misc/add-tailscale-lxc.sh

@@ -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"