[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Debugging kickstart general advice sought
- From: Pablo Iranzo Gómez <Pablo Iranzo redhat com>
- To: Discussion list about Kickstart <kickstart-list redhat com>
- Subject: Re: Debugging kickstart general advice sought
- Date: Mon, 21 Apr 2008 18:07:41 +0200 (CEST)
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
--
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:
> Hi
>
> I am debugging a problem with my kickstart but am founding it immensely
> cumbersome to rebuild a machine everytime just to test the last part of
> the install a stubborn pre-post script that does not want to work. I'
> will probably ask a question about it here later on.
>
>
>
> Can anyone suggest a more productive way of debugging kickstart files
> that takes up less time than actually building a machine each time?
>
>
>
> Regards
>
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]