[CentOS] Re: kickstart post section
Jerry Geis
geisj at pagestation.com
Mon Mar 10 12:22:07 UTC 2008
Jerry Geis wrote:
> Is there a way in the %post section of install to continue to have the
> VT3 logging but also
> log that to a file. Somehow using tee perhaps?
>
> I have found --log=/tmp/post-install.log but then that shows nothing
> on VT3.
> I would like to have both if possible. Log to VT and a file.
>
> THanks,
>
> Jerry
>
>Kickstart in RHEL5/CentOS 5 you can do this
>
>%post
>(
>do your stuff here
>) 1>/root/kickstart-post-install.log 2>&1
>Not sure if older versions of RHEL/CentOS support that.
>nate
Nate,
I tried the above suggestion and it did not have the desired effect.
Everything gets logged to log file. I was hoping for a way
to log to the file and also still see it on the screen also.
Is there a way to do that?
Jerry
More information about the CentOS
mailing list