diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-04-24 07:49:42 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-04-24 07:49:42 +0200 |
commit | 76ef0a7ee774fa90e7acc2c8af6c2c18d1571399 (patch) | |
tree | 707fb707eb4979a73f85fed5ca7c0be3abac41d6 /pxeflatten | |
parent | a0c2aee4b238912f8fa45af5d90d1ddda25e14a3 (diff) |
Use pxeflatten to generate GRUB config files
Diffstat (limited to 'pxeflatten')
-rwxr-xr-x | pxeflatten | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,6 +1,8 @@ #! /usr/bin/env bash # Flatten a multi-line PXELINUX config file ignoring comments/blank lines. +# Can also be used for GRUB config files (note that GRUB rewrites x="y" as +# "x=y"). # # The text that appears after the 'append' clause in PXELINUX config files # must all be on a single line. There is no support even for line @@ -8,7 +10,8 @@ # # To help with this situation, this script will take a milti-line file (or # stdin if none is specified) and write flattened, single line output into -# stdout ignoring #-comments and blank lines while at it. +# stdout ignoring #-comments and blank lines while at it. Note that this +# script prints a leading space. # # If you have prepared your PXELINUX config file so that the 'append' clause # is the last line without a trailing newline (and without a trailing space), |