[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: problem with %post commands`



On 2/28/06, Jack Fortune <jfortune 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 gmail com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]