diff --git a/confluent_server/confluent/osimage.py b/confluent_server/confluent/osimage.py index 6ba31dfc..571381ab 100644 --- a/confluent_server/confluent/osimage.py +++ b/confluent_server/confluent/osimage.py @@ -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,