Re: problem with %post commands`

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

 



On 2/28/06, Jack Fortune <jfortune@xxxxxxxxxxx> 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@xxxxxxxxx


[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux