Bug 227470 - kickstart %post section does not get run
kickstart %post section does not get run
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Chris Lumens
Depends On:
  Show dependency treegraph
Reported: 2007-02-06 01:42 EST by Wart
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-02-06 10:46:37 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 Wart 2007-02-06 01:42:56 EST
Description of problem:
I have a kickstart file for FC7t1 that was generated from an earlier FC7t1
install, but with an additional small %post section at the end:

echo foo > /root/foo.txt

However, it doesn't appear that the %post section ever gets run.  The 'foo.txt'
file never gets created.

Version-Release number of selected component (if applicable):
FC7 Test 1 install media, 

How reproducible:

Steps to Reproduce:
1. Perform a fresh FC7 install, without using a kickstart file
2. After the install finishes, copy the generated /root/anaconda-ks.cfg to an
appropriate location
3. Add a simple %post section to the end of the kickstart file, such as:
echo foo > /root/foo.txt
4. Install FC7 again, but point the installer at this kickstart file
Actual results:
/root/foo.txt is missing

Expected results:
After the installation is finished, the glamorous '/root/foo.txt' file is present.
Comment 1 Chris Lumens 2007-02-06 10:46:37 EST
Thanks for the bug report.  This will be fixed in the next version of anaconda.
Comment 2 Bill Nottingham 2007-03-02 12:43:38 EST
Moving to 'devel' as discussed on

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