Check the 'ID' field instead of 'RHEL_VERSION' in /etc/os-release file to...

Check the 'ID' field instead of 'RHEL_VERSION' in /etc/os-release file to determine if running on RHEL.

The 'RHEL_VERSION' field is only added on OpenShift. On non-OpenShift deployments, we can check 'ID' to get the OS name.

Signed-off-by: Christopher Desiniotis cdesiniotis@nvidia.com

Merge request reports

Loading