RE: Debugging kickstart general advice sought

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

 



	Hi

	You can put  before the "|" one 2>&1 to get every single message on files

	Regards
	Pablo






-- 
Pablo Iranzo Gómez
(http://Alufis35.uv.es/~iranzo/)
(PGPKey Available on http://www.uv.es/~iranzop/PGPKey.pgp)
                  --
Postulado de Boling sobre la Ley de Murphy:

Si se encuentra bien, no se preocupe. Se le pasará

On Mon, 21 Apr 2008, Gerrard Geldenhuis wrote:

> > -----Original Message-----
> > From: kickstart-list-bounces@xxxxxxxxxx [mailto:kickstart-list-
> > bounces@xxxxxxxxxx] 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
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/kickstart-list
>

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[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