problem with %post commands`

Robert Wehner rwehner at gmail.com
Tue Feb 28 21:22:12 UTC 2006


On 2/28/06, Jack Fortune <jfortune at uoregon.edu> wrote:
> Can someone tell me if there's a way to send the %post output to a file? If I
> could somehow capture it, it would be easier to locate my particular problem.

I just redirect STOUT and STERR to a log before I run my scripts:
%post
LOGFILE=/root/kickstart.log
exec >> $LOGFILE
exec 2>> $LOGFILE
# all your scripting goes here
 so far I've run into no problems with this method.

> Jack Fortune
> University of Oregon
>

----
Robert Wehner
rwehner at gmail.com




More information about the Kickstart-list mailing list