diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2020-10-17 14:26:11 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2020-10-17 14:26:11 +0300 |
commit | 6238f5bc8f821ddc8aab371d9bb36e025c281c07 (patch) | |
tree | 2df4f448cec4927e787eff75a8f40c6fd42789ba /include/osdetection | |
parent | c353ce662696de931ed154b645000c7624e2dc46 (diff) |
Define RHEL as 'RHEL'
Diffstat (limited to 'include/osdetection')
-rw-r--r-- | include/osdetection | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osdetection b/include/osdetection index 107ee28f..5aa5878b 100644 --- a/include/osdetection +++ b/include/osdetection @@ -255,7 +255,7 @@ ;; "rhel") LINUX_VERSION="RHEL" - OS_NAME=$(grep "^PRETTY_NAME=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') + OS_NAME="RHEL" OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') OS_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') OS_FULLNAME="${OS_NAME} ${OS_VERSION_FULL}" |