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:
parent
8b11acbcf2
commit
caf9115439
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user