From bd91c58768f0427ff0325284017770ca7397ded7 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 12 May 2020 11:26:04 -0400 Subject: [PATCH] Fix CentOS profile generation CentOS checker did not provide category for profile population. --- confluent_server/confluent/osimage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/osimage.py b/confluent_server/confluent/osimage.py index 02c45128..a9ff2eed 100644 --- a/confluent_server/confluent/osimage.py +++ b/confluent_server/confluent/osimage.py @@ -130,7 +130,7 @@ def check_centos(isoinfo): break else: return None - return {'name': 'centos-{0}-{1}'.format(ver, arch), 'method': EXTRACT} + return {'name': 'centos-{0}-{1}'.format(ver, arch), 'method': EXTRACT, 'category': 'el{0}'.format(major)} def check_ubuntu(isoinfo):