Skip to content

Commit

Permalink
refactor tailscale install
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Storm <markus.storm@gmx.net>
  • Loading branch information
mstormi committed Apr 26, 2024
1 parent 968cd49 commit db477fb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions functions/vpn.bash
Expand Up @@ -216,11 +216,6 @@ install_tailscale() {
echo "$(timestamp) [openHABian] Installing tailscale VPN... "
curl -fsSL https://pkgs.tailscale.com/stable/debian/bookworm.noarmor.gpg | tee /usr/share/keyrings/tailscale-archive-keyring.gpg >/dev/null
curl -fsSL https://pkgs.tailscale.com/stable/debian/bookworm.tailscale-keyring.list | tee /etc/apt/sources.list.d/tailscale.list
# Add tailscale's GPG key
add_keys "https://pkgs.tailscale.com/stable/raspbian/${myRelease,,}.noarmor.gpg" "$keyName"
# Add the tailscale repository
#echo "deb [signed-by=/usr/share/keyrings/${keyName}.gpg] https://pkgs.tailscale.com/stable/raspbian ${myRelease,,} main" > /etc/apt/sources.list.d/tailscale.list
curl -fsSL https://pkgs.tailscale.com/stable/raspbian/bookworm.tailscale-keyring.list | sudo tee /etc/apt/sources.list.d/tailscale.list
cond_redirect apt-get update -o DPkg::Lock::Timeout="$APTTIMEOUT"

# Install tailscale
Expand Down

0 comments on commit db477fb

Please sign in to comment.