2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-01-11 02:22:31 +00:00

Fix skipping of quotation in grub config

This commit is contained in:
Jarrod Johnson
2025-08-20 10:31:59 -04:00
parent 75c228dae4
commit b32ded9c6a

View File

@@ -181,6 +181,8 @@ def fixup(rootdir, vols):
newline = []
for ent in gline:
if ent.startswith('resume=') or ent.startswith('rd.lvm.lv'):
if ent.endswith('"'):
newline.append('"')
continue
newline.append(ent)
defgrubout.write(' '.join(newline) + '\n')