From 7dd2d4c497fd17366ff689f3d8a7ef08e87b4fc4 Mon Sep 17 00:00:00 2001 From: Jake Hunsaker Date: Tue, 11 Dec 2018 16:08:08 -0500 Subject: [redhat] Update policy to identify RHEL 8 Now that RHEL 8 Beta is out, update the redhat policy dist_version to be able to properly set the version. Resolves: #1509 Signed-off-by: Jake Hunsaker Signed-off-by: Bryn M. Reeves --- sos/policies/redhat.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sos/policies/redhat.py b/sos/policies/redhat.py index 580b7454..53f5d127 100644 --- a/sos/policies/redhat.py +++ b/sos/policies/redhat.py @@ -297,6 +297,8 @@ support representative. return 6 elif pkgname[0] == "7": return 7 + elif pkgname[0] == "8": + return 8 except Exception: pass return False -- cgit