[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: Debugging kickstart general advice sought
- From: "Gerrard Geldenhuis" <Gerrard Geldenhuis datacash com>
- To: "Discussion list about Kickstart" <kickstart-list redhat com>
- Subject: RE: Debugging kickstart general advice sought
- Date: Mon, 21 Apr 2008 18:39:01 +0100
> -----Original Message-----
> From: kickstart-list-bounces redhat com [mailto:kickstart-list-
> bounces 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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]