mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-29 12:27:40 +00:00
Fix older Oracle Linux 7
Older OL has another release file thtat was tripping the fingerprinting code.
This commit is contained in:
parent
cd251fa5d6
commit
14d9284cc5
@ -346,7 +346,7 @@ def _priv_check_oraclelinux(isoinfo):
|
||||
ver = None
|
||||
arch = None
|
||||
for entry in isoinfo[0]:
|
||||
if 'oraclelinux-release-' in entry:
|
||||
if 'oraclelinux-release-' in entry and 'release-el7' not in entry:
|
||||
ver = entry.split('-')[2]
|
||||
arch = entry.split('.')[-2]
|
||||
break
|
||||
|
Loading…
x
Reference in New Issue
Block a user