[HTCondor-devel] /etc/os-release


Date: Thu, 28 Jun 2018 11:34:27 -0500
From: Greg Thain <gthain@xxxxxxxxxxx>
Subject: [HTCondor-devel] /etc/os-release

FYI, I just discovered this new file which systemd writes, /etc/os-release, which coalesces a lot of the distro-specific files like /etc/redhat-release, /etc/debian-version, etc. Here's an example:

This might be handy to use in our startd code and in day-to-day interactive debugging:


$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/";
SUPPORT_URL="http://www.debian.org/support";
BUG_REPORT_URL="https://bugs.debian.org/";

[← Prev in Thread] Current Thread [Next in Thread→]