From 76ef0a7ee774fa90e7acc2c8af6c2c18d1571399 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 24 Apr 2023 07:49:42 +0200 Subject: Use pxeflatten to generate GRUB config files --- pxeflatten | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pxeflatten b/pxeflatten index 78a5c84..225047b 100755 --- a/pxeflatten +++ b/pxeflatten @@ -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), -- cgit v1.1