Re: %post --name

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

 



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@xxxxxxxxx> 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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux