Display progress during long kickstart %post script
David Bartlett
davidbartlett2003 at yahoo.co.uk
Thu Mar 3 16:34:27 UTC 2005
Hi Michael,
I just wanted to pop you a THANK YOU e-mail for your
prompt & superb reply. Your solution is spot-on and
exactly what I need to get the ball rolling.
The people in my office have been left wondering why
I've been whooping and punching the air for the last
five minutes!
Thanks a lot man -- really good solution.
Rgds, David Bartlett.
--- Michael Shuler <mshuler at rackspace.com> wrote:
> David Bartlett wrote:
> > I run a quite lengthy %post script (runtime = 5-10
> > minutes) as part of my kickstart build and would
> like
> > to include some useful output to reassure my users
> > that the build process is running normally and has
> not
> > hung.
>
> We use the following method as a beginning point, in
> order to have
> interactive post-install scripting, as well as
> logging the complete
> output of post-install to the terminal and to a text
> file, which is
> uploaded back to the kickstart server for
> documentation, as the last
> script called in %post.
>
> %post
> # change to new vt and set stout/stdin
> exec < /dev/tty6 > /dev/tty6
> chvt 6
> # run post-install
>
> # write/call scripts here
>
> # change back to first vt
> chvt 1
>
> --
> Kind Regards,
> Michael Shuler
> Rackspace Managed Hosting
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
>
https://www.redhat.com/mailman/listinfo/kickstart-list
>
Send instant messages to your online friends http://uk.messenger.yahoo.com
More information about the Kickstart-list
mailing list