From 19c4dc71dbea22b81cb292d761986b4407f6bafd Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 22 May 2025 14:30:58 -0400 Subject: [PATCH] Add recognition of RHEL10 media --- confluent_server/confluent/osimage.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/confluent_server/confluent/osimage.py b/confluent_server/confluent/osimage.py index ed2a3a41..ca1d787b 100644 --- a/confluent_server/confluent/osimage.py +++ b/confluent_server/confluent/osimage.py @@ -622,6 +622,9 @@ def check_rhel(isoinfo): ver = entry.split('-')[2] arch = entry.split('.')[-2] break + elif 'redhat-release-10' in entry: + ver = entry.split('-')[2] + arch = entry.split('.')[-2] else: if '.discinfo' in isoinfo[1]: prodinfo = isoinfo[1]['.discinfo']