[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: %post --name
- From: "Kashif Ali" <snake007uk gmail com>
- To: "Discussion of Development and Customization of the Red Hat Linux Installer" <anaconda-devel-list redhat com>
- Subject: Re: %post --name
- Date: Tue, 18 Dec 2007 13:21:07 +0000
I simply have this just after %post section
%post
set -x
exec > /root/ks-post.log 2>&1
it stores all output in ks-post.log file. You can then see what script failed and what error it gave.
Regards
On 01/11/2007, Christopher Boumenot <boumenot gmail com> wrote:
> Ooops. I missed what it was you were actually doing. I envisioned
> something like:
>
> %post --foo
> script1
> script2
> script3
> script4
>
>
>
> And you were complaining because maybe script3 failed. I didn't
> realize you actually had multiple %post sections, vs multiple scripts
> listed in %post.
>
> I'll step back and let the anaconda/kickstart authors answer.
My bad, I should have shown an example up front!
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list redhat com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]