From 4a38a88136eae96d962a9db75c934d74d5703dcd Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 7 Feb 2022 09:20:05 -0500 Subject: [PATCH] Add recognition of RHEL9 media --- confluent_server/confluent/osimage.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/confluent_server/confluent/osimage.py b/confluent_server/confluent/osimage.py index 6f015afb..7c8822e0 100644 --- a/confluent_server/confluent/osimage.py +++ b/confluent_server/confluent/osimage.py @@ -484,6 +484,10 @@ def check_rhel(isoinfo): ver = entry.split('-')[2] arch = entry.split('.')[-2] break + elif 'redhat-release-9' in entry: + ver = entry.split('-')[2] + arch = entry.split('.')[-2] + break else: if '.discinfo' in isoinfo[1]: prodinfo = isoinfo[1]['.discinfo']