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

Fix CentOS stream support

This commit is contained in:
Jarrod Johnson 2020-12-14 10:04:31 -05:00
parent 8b11acbcf2
commit caf9115439

View File

@ -245,10 +245,10 @@ def check_centos(isoinfo):
cat = 'el8'
break
elif 'centos-stream-release-8' in entry:
ver = entry.split('-')[2]
arch = entry.split('.')[-2]
ver = entry.split('-')[3]
arch = entry.split('.')[-3]
cat = 'el8'
isstream = '-stream'
isstream = '_stream'
break
else:
return None