Re: Newbie questions about Kickstart

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

 



On 5/10/06, Philip Prindeville <philipp_subx@xxxxxxxxxxxxxxxxxxxxx> 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.


[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux