Add kernel signature for Oracle Linux 7 UEK

This commit is contained in:
Carsten Grohmann 2018-11-08 20:46:05 +01:00
parent 01a311f1f4
commit b7ca1fdec5

View File

@ -484,7 +484,9 @@ class OOMAnalyser(object):
self.results['platform'] = 'unknown' self.results['platform'] = 'unknown'
# guess distribution from kernel version # guess distribution from kernel version
if '.el7' in kernel_version: if '.el7uek' in kernel_version:
self.results['dist'] = 'Oracle Linux 7 (Unbreakable Enterprise Kernel)'
elif '.el7' in kernel_version:
self.results['dist'] = 'RHEL 7/CentOS 7' self.results['dist'] = 'RHEL 7/CentOS 7'
elif '.el6' in kernel_version: elif '.el6' in kernel_version:
self.results['dist'] = 'RHEL 6/CentOS 6' self.results['dist'] = 'RHEL 6/CentOS 6'