2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-25 19:10:10 +00:00

Add recognition of RHEL9 media

This commit is contained in:
Jarrod Johnson 2022-02-07 09:20:05 -05:00
parent b1cbca414a
commit 4a38a88136

View File

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