Open bartmichu opened 3 years ago
For much excitement, and a workaround, you can create a soft-link to the /etc/os-release file in /etc using the following command:
sudo ln -s /etc/os-release /etc/SuSE-release
Alternatively, if you prefer to do it the "official" SUSE way, do:
sudo ln -s /usr/lib/os-release /etc/SuSE-release
I am assuming you have sudo installed and configured correctly. If not, you can also run the command as root without the sudo prefix.
Please note, I've not tested this, so if anyone finds it works, please reply. If it does not work, but you tweak it to do so, reply with changes. Ideally, the Zerotier team should make minor tweaks to the installation script to bring it in line with modern Linux distro release conventions.
When detecting Linux distribution, installation script assumes
/etc/SuSE-release
file exists for SUSE distros. That fails on new versions because it has been removed.Additional information
OpenSUSE documentation has an article for third-party software developers, who wish to add SUSE and openSUSE distros compatibility into their software.
In short,
/usr/lib/os-release
is the way to go.