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

RE: Debugging kickstart general advice sought



> -----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]