2
0
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:
Jarrod Johnson 2020-12-10 13:48:51 -05:00
parent cd251fa5d6
commit 14d9284cc5

View File

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