mirror of
https://github.com/xcat2/confluent.git
synced 2026-04-13 04:11:31 +00:00
Fix grub fallback path for more grub
This commit is contained in:
@@ -184,7 +184,7 @@ def update_boot_linux(profiledir, profile, label):
|
||||
if not grubcfgpath:
|
||||
grubcfgpath = [
|
||||
profiledir + '/boot/efi/boot/grub.cfg',
|
||||
profiledir + '/boot/boot/grub.cfg'
|
||||
profiledir + '/boot/boot/grub/grub.cfg'
|
||||
]
|
||||
for grubcfgpth in grubcfgpath:
|
||||
os.makedirs(os.path.dirname(grubcfgpth), 0o755, exist_ok=True)
|
||||
|
||||
Reference in New Issue
Block a user