mirror of
https://github.com/xcat2/confluent.git
synced 2026-09-02 15:36:05 +00:00
Fix empty kernelargs handling
This commit is contained in:
@@ -192,7 +192,7 @@ def find_glob(loc, fileglob):
|
||||
|
||||
async def update_boot_linux(profiledir, profile, label):
|
||||
profname = os.path.basename(profiledir)
|
||||
kernelargs = profile.get('kernelargs', '')
|
||||
kernelargs = profile.get('kernelargs') or ''
|
||||
needefi = False
|
||||
for grubexe in glob.glob(profiledir + '/boot/efi/boot/grubx64.efi'):
|
||||
with open(grubexe, 'rb') as grubin:
|
||||
|
||||
Reference in New Issue
Block a user