diff --git a/confluent_server/confluent/osimage.py b/confluent_server/confluent/osimage.py index b42084dc..f79e4593 100644 --- a/confluent_server/confluent/osimage.py +++ b/confluent_server/confluent/osimage.py @@ -250,6 +250,11 @@ def check_rocky(isoinfo): arch = entry.split('.')[-2] cat = 'el8' break + if 'rocky-release-9' in entry: + ver = entry.split('-')[2] + arch = entry.split('.')[-2] + cat = 'el9' + break else: return None if arch == 'noarch' and '.discinfo' in isoinfo[1]: @@ -270,6 +275,11 @@ def check_alma(isoinfo): arch = entry.split('.')[-2] cat = 'el8' break + elif 'almalinux-release-9' in entry: + ver = entry.split('-')[2] + arch = entry.split('.')[-2] + cat = 'el9' + break else: return None if arch == 'noarch' and '.discinfo' in isoinfo[1]: