Red Hat Bugzilla – Bug 170331
[PATCH] loader can't parse kickstart correctly when %pre, %post, or %packages have options/args
Last modified: 2015-01-07 19:10:54 EST
Where's the patch? My %post isn't working and I'm wondering if this bug is
related to what I'm seeing.
This is the bug:
The part of loader that parses the kickstart for commands will continue parsing
throughout the %pre/%post/%package sections until one of them doesn't have any
options. This is because in ksReadCommands it strips leading and trailing
whitespace but then checks for the *exact* strings, not just initial substrings.
1. Put a python script as a %pre right after the commands section of ks.cfg
2. make sure you assign to a variable called 'url' in the python script
You get a hung loader
It sounds like you are seeing a different problem.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.