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

Re: %post --name



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]