Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation script doesn't work on Cloudlinux #104

Open
x5servers opened this issue Nov 19, 2024 · 1 comment
Open

Installation script doesn't work on Cloudlinux #104

x5servers opened this issue Nov 19, 2024 · 1 comment

Comments

@x5servers
Copy link

Hello

we have this same problem, we want to use it on cpanel/cloudlinux servers and we receive this error
*** 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.
[root@server ~]#

[root@servidor ~]# cat /etc/os-release
NAME="CloudLinux"
VERSION="8.10 (Vladimir Aksyonov)"
ID="cloudlinux"
ID_LIKE="rhel fedora centos"
VERSION_ID="8.10"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CloudLinux 8.10 (Vladimir Aksyonov)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:cloudlinux:cloudlinux:8.10:GA:server"
HOME_URL="https://www.cloudlinux.com/"
BUG_REPORT_URL="https://www.cloudlinux.com/support"
VARIANT_ID="cloudlinux"
[root@servidor ~]#

@saulolimabrito
Copy link

I solved this issue, just replacing the 315 line for:

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

I have added || [ $ID == "cloudlinux" ], and tested as well in production.

Screenshot from 2024-12-09 15-52-15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants