Re: kickstart post section

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



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.

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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux