The library fails to properly recognize openSUSE 15.3
osutil.GetDisplay()
expected: openSUSE
actual: Linux
distro := osutil.GetDist()
expected: distro.Display to be openSUSE
actual: distro.Display is empty
expected: distro.Codename to be Leap
actual: distro.Codename is empty
Notes:
distro.Release is correct, 15.3
lsb_release - command is not available
cat /etc/os-release returns
NAME="openSUSE Leap"
VERSION="15.3"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.3"
PRETTY_NAME="openSUSE Leap 15.3"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.3"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
There is no file /etc/SuSE-release
The library fails to properly recognize openSUSE 15.3
osutil.GetDisplay()expected:
openSUSEactual:
Linuxdistro := osutil.GetDist()expected:
distro.Displayto beopenSUSEactual:
distro.Displayis emptyexpected:
distro.Codenameto beLeapactual:
distro.Codenameis emptyNotes:
distro.Releaseis correct,15.3lsb_release- command is not availablecat /etc/os-releasereturnsThere is no file
/etc/SuSE-release