2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 09:32:21 +00:00

Fix list syntax in grub cfg

This commit is contained in:
Jarrod Johnson 2024-07-12 16:21:36 -04:00
parent 08a5bffa90
commit 3aea1ec7d6

View File

@ -183,7 +183,7 @@ def update_boot_linux(profiledir, profile, label):
grubcfgpath = find_glob(profiledir + '/boot', 'grub.cfg')
if not grubcfgpath:
grubcfgpath = [
profiledir + '/boot/efi/boot/grub.cfg'
profiledir + '/boot/efi/boot/grub.cfg',
profiledir + '/boot/boot/grub.cfg'
]
for grubcfgpth in grubcfgpath: