Debugging kickstart general advice sought
Gerrard Geldenhuis
Gerrard.Geldenhuis at datacash.com
Mon Apr 21 17:39:01 UTC 2008
> -----Original Message-----
> From: kickstart-list-bounces at redhat.com [mailto:kickstart-list-
> bounces at redhat.com] On Behalf Of Pablo Iranzo Gómez
> Sent: 21 April 2008 17:08
> To: Discussion list about Kickstart
> Subject: Re: Debugging kickstart general advice sought
>
> What I do is to use the following trick:
>
> %pre
> (
> commands
> )|tee -a /tmp/pre.log
>
> %post --nochroot
> (
> commands
> cp /tmp/pre.log /mnt/sysimage/root/pre.log
> ) |tee -a /mnt/sysimage/root/post.log
>
>
> And of course, lot's of "echo", and "read" if you want to do some
> pause ;)
>
> Regards
> Pablo
Does the tee trick catch all stdout and stderr messages?
Regards
More information about the Kickstart-list
mailing list