Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 20721 - Kickstart scripts ignore empty lines
Kickstart scripts ignore empty lines
Product: Red Hat Linux
Classification: Retired
Component: anaconda (Show other bugs)
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Erik Troan
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2000-11-12 09:02 EST by Jos Vos
Modified: 2007-04-18 12:29 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-01-08 14:43:38 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jos Vos 2000-11-12 09:02:09 EST
Empty lines in the ks.cfg scripts, at least in the %pre script, seem to be
discarded.  This is a problem, at least when making commands with
here-documents. As a workaround I now generate the command input with an
echo command.
Comment 1 Michael Fulbright 2000-11-13 14:20:27 EST
Could you attach an example of a script that fails?
Comment 2 Fabian Kroenner 2000-11-20 10:27:43 EST
I tried something like the following in %post, and it didn't work for me.

cd /etc/X11
patch <<EOF
--- XF86Config-4.orig   Mon Nov 20 16:26:52 2000
+++ XF86Config-4        Fri Nov 10 18:06:56 2000
@@ -60,10 +60,10 @@
        Identifier "Screen0"
        Device "ATI|3D Rage IIC AGP"
        Monitor "CustomConfiguration"
-       DefaultDepth 8
+       DefaultDepth 16
        Subsection "Display"
-               Depth 8
-               Modes "640x480"
+               Depth 16
+               Modes "1280x960"
Comment 3 Michael Fulbright 2000-12-27 12:24:42 EST
Assigning to a developer.
Comment 4 Erik Troan 2001-01-08 14:43:35 EST
Fixed for next release.
Comment 5 Brock Organ 2001-01-11 09:24:15 EST
verified fix in qa0110.0 test tree ...

Note You need to log in before you can comment on or make changes to this bug.