SOLVED: Re: Capture output of kickstart %post section

From: Charles Howse (me_at_privacy.net)
Date: 07/31/03


Date: Thu, 31 Jul 2003 10:28:17 -0500


%post
exec > /root/ks-post.log 2>&1

Now, when I watch VT3 during the %post section, the screen output stops, and
after rebooting, everything I do in %post is recorded in /root/ks-post.log,
including any error msgs!

"Charles Howse" <me@privacy.net> wrote in message
news:vii65dd3gb4pf7@corp.supernews.com...
> Hello All,
> I install RH 9 from a kickstart diskette, and I need to capture the output
> of Virtual Terminal 3 to a file when the %post section of the kickstart
file
> runs.
>
> From the research I've done, it looks like exec is the command to use, but
> before I trash my current setup and reinstall just to test it, I'd like
some
> reassurance that I'm doing it right.
>
> Would this work?
> %post
> exec > /root/mylog.log
>
> Or would I need to specify /dev/tty3?
> If so, how would I do that?
> %post
> exec /dev/tty3 > /root/mylog.log
>
> I think the above would fail, because /dev/tty3 is not executable.
>
> Any ideas?
> Thanks,
> Charles
>
>