Description of problem:
currently the commands in the %post section of kickstart are not logged to
anywhere, making debugging kickstarts a royal pain in the ass.
In my kickstarts, I currently do the following to set log the output and also
set up the default environemt as root's environment:
su - root -c "(
foo shell commands as root here....
)" 1>/root/post_install.log 2>&1
Is this an RFE for logging of what happens in the %post and %pre?
Yes, concider this an RFE against loggint what happens in %pre and %post
Defer this as needed, its not critical, but its something that we already do
in most of our kickstarts. Other folks might find it useful too.
Added this today. Add --log to %pre and %post.