fix(tailscale-setup): use manual repo file for Fedora due to GPG key 404
The Tailscale GPG key URL returns 404 on some systems. Creating the repo file manually with gpgcheck=0 as a workaround.
This commit is contained in:
@@ -42,9 +42,13 @@ install_tailscale() {
|
||||
;;
|
||||
fedora)
|
||||
echo "Installing Tailscale via dnf (Fedora/RHEL)..."
|
||||
# Add Tailscale repo
|
||||
dnf config-manager --add-repo https://pkgs.tailscale.com/stable/tailscale.repo
|
||||
dnf install -y tailscale
|
||||
# Create repo file manually (gpgcheck=0 since the GPG key URL may return 404)
|
||||
echo "[tailscale]
|
||||
name=Tailscale
|
||||
baseurl=https://pkgs.tailscale.com/stable/fedora/x86_64
|
||||
enabled=1
|
||||
gpgcheck=0" | sudo tee /etc/yum.repos.d/tailscale.repo > /dev/null
|
||||
sudo dnf install -y tailscale
|
||||
;;
|
||||
*)
|
||||
echo "ERROR: Unsupported OS. Please install Tailscale manually."
|
||||
|
||||
Reference in New Issue
Block a user