2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-01-11 18:42:29 +00:00

Add recognition of RHEL10 media

This commit is contained in:
Jarrod Johnson
2025-05-22 14:30:58 -04:00
parent 94dc266cd4
commit 19c4dc71db

View File

@@ -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']