Red Hat Bugzilla – Bug 838713
%include broken in %pre/%post section of kickstart
Last modified: 2013-04-02 19:46:51 EDT
Description of problem:
Including the %include directive in the %pre or %post section of a kickstart file followed by a file name produces an error during parsing.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. In either the %pre or %post section of a kickstart, copy a file from an external source to the local filesystem. For example,
mount -t nfs 220.127.116.11:/export /tmp/mnt
cp /tmp/mnt/foofile /
2. Include the file from step 1 in the kickstart with the %include directive:
* Add '--erroronfail' to the %pre or %post line being used to more easily see the error.
The installation will halt with an error similar to the following:
fg: no job control
File text should be included into the ks as documented in:
* Error is generated whether file actually exists or not.
*** This bug has been marked as a duplicate of bug 827269 ***