mirror of
https://github.com/xcat2/confluent.git
synced 2026-05-09 02:00:11 +00:00
Do not import if we don't have matching profile fodder
This commit is contained in:
@@ -596,6 +596,9 @@ def check_ubuntu(isoinfo):
|
||||
exlist = ['casper/*vmlinuz', 'casper/*initrd',
|
||||
'efi/boot/bootx64.efi', 'efi/boot/grubx64.efi'
|
||||
]
|
||||
defprofile = '/opt/confluent/lib/osdeploy/ubuntu{0}'.format(major)
|
||||
if not os.path.exists(defprofile):
|
||||
return None
|
||||
return {'name': 'ubuntu-{0}-{1}'.format(ver, arch),
|
||||
'method': EXTRACT|COPY,
|
||||
'extractlist': exlist,
|
||||
|
||||
Reference in New Issue
Block a user