From 04d63a269d541db995b6f36e7d9bb813725c87f1 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 15 Dec 2020 12:59:48 -0500 Subject: [PATCH] Fix detection of CentOS 8.3 They changed their package name to be consistent with their focal shift. --- confluent_server/confluent/osimage.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/confluent_server/confluent/osimage.py b/confluent_server/confluent/osimage.py index fedf4fd2..38bf30ce 100644 --- a/confluent_server/confluent/osimage.py +++ b/confluent_server/confluent/osimage.py @@ -250,6 +250,11 @@ def check_centos(isoinfo): cat = 'el8' isstream = '_stream' break + elif 'centos-linux-release-8' in entry: + ver = entry.split('-')[3] + arch = entry.split('.')[-2] + cat = 'el8' + break else: return None if arch == 'noarch' and '.discinfo' in isoinfo[1]: