[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Newbie questions about Kickstart
- From: "Donald Murray, P.Eng." <donaldm314 gmail com>
- To: "Discussion list about Kickstart" <kickstart-list redhat com>
- Subject: Re: Newbie questions about Kickstart
- Date: Fri, 12 May 2006 06:45:55 -0600
On 5/10/06, Philip Prindeville <philipp_subx redfish-solutions com> wrote:
*SNIP*
(3) where does the output of %post get logged? vt3? But not a file?
In my kickstart %post, I do the following:
%post
(
# Switch to vt 3, so we can watch the sparks fly.
chvt 3
# Print shell input lines as they are read.
set -v
# Do lots of cool things.
) 2>&1 | tee /root/kickstart-post.log
# Back to X for the reboot screen.
chvt 7
My %post is run in a subshell, and all output is captured in
a log file. Because it's piped to tee, we see the same output
on the screen.
If you are doing text-only installs, you can skip the chvt.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]