diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2018-12-11 16:08:08 -0500 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2019-03-19 18:01:49 +0000 |
commit | 7dd2d4c497fd17366ff689f3d8a7ef08e87b4fc4 (patch) | |
tree | 737dd0521f14528819cd984ae80da2dbfd3b73e2 | |
parent | ff5f87419ccdddb192e24f3f85a2c3226fad4842 (diff) | |
download | sos-7dd2d4c497fd17366ff689f3d8a7ef08e87b4fc4.tar.gz |
[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 <jhunsake@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/policies/redhat.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 |