2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-12-24 12:11:52 +00:00

Fix CentOS profile generation

CentOS checker did not provide
category for profile population.
This commit is contained in:
Jarrod Johnson 2020-05-12 11:26:04 -04:00
parent 72c22939ad
commit bd91c58768

View File

@ -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):