zerotier / install.zerotier.com

Source for https://install.zerotier.com curl|bash installer
https://install.zerotier.com
BSD 3-Clause "New" or "Revised" License
58 stars 41 forks source link

Installation script doesn't work on Alibaba Cloud Linux #52

Open liuht777 opened 1 month ago

liuht777 commented 1 month ago

curl -s https://install.zerotier.com | sudo bash *** ZeroTier Service Quick Install for Unix-like Systems

*** Tested OSes / distributions:

MacOS (10.13+) (just installs ZeroTier One.pkg) Debian Linux (7+) RedHat/CentOS Linux (6+) Fedora Linux (16+) SuSE Linux (12+) Mint Linux (20+) *** Kali Linux (2024.1+)

Supported architectures vary by OS / distribution. We try to support every system architecture supported by the target.

Please report problems by opening a GitHub issue or Pull Request at: https://github.com/zerotier/install.zerotier.com *** Please include the content of /etc/os-release for your distribution.

*** Detecting Linux Distribution

*** Unknown or unsupported distribution! Aborting.

cat /etc/os-release NAME="Alibaba Cloud Linux" VERSION="3 (Soaring Falcon)" ID="alinux" ID_LIKE="rhel fedora centos anolis" VERSION_ID="3" PLATFORM_ID="platform:al8" PRETTY_NAME="Alibaba Cloud Linux 3 (Soaring Falcon)" ANSI_COLOR="0;31" HOME_URL="https://www.aliyun.com/"

glimberg commented 1 month ago

Going to have to ask for a PR on this one. You can try adding || [ $ID == "alinux" ] towards the end of line 306 of install.sh.in and testing with bash ./install.sh.in to see if it works.

dzsolly commented 3 weeks ago

Hi @glimberg ,

I had a same problem with EuroLinux8 Server. It seems that your suggestion solved my issue.

This is my output right now:

elif [ $ID == "centos" ] || [ $ID == "rocky" ] || [ $ID == "almalinux" ] || [ $ID == "rhel" ] || [ $ID == "fedora" ] || [ $ID == "amzn" ] || [ $ID == "sangoma" ] || [ $ID == "ol" ] || [ $ID == "eurolinux" ];

Thanks for a lot!

Sincerely, Dzs