mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 17:43:14 +00:00
Fix SUSE imgutil
This commit is contained in:
parent
a9044238ba
commit
c2de5fa580
@ -727,7 +727,7 @@ def fingerprint_source_suse(files, sourcepath, args):
|
||||
if key == 'name':
|
||||
osname, ver, arch = val.split('-')
|
||||
if issuse:
|
||||
return SuseHandler(osname, ver, arch)
|
||||
return SuseHandler(osname, ver, arch, args)
|
||||
|
||||
for filen in files:
|
||||
if '-release-8' in filen:
|
||||
@ -800,7 +800,7 @@ def fingerprint_host_suse(args, hostpath='/'):
|
||||
if inf.name.startswith(b'SLE_'):
|
||||
osname = 'sle'
|
||||
if osname:
|
||||
return SuseHandler(osname, inf.version, os.uname().machine)
|
||||
return SuseHandler(osname, inf.version, os.uname().machine, args)
|
||||
|
||||
def fingerprint_host(args, hostpath='/'):
|
||||
oshandler = None
|
||||
|
Loading…
Reference in New Issue
Block a user