Capture output of kickstart %post section

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


Date: Thu, 31 Jul 2003 08:24:59 -0500

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