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

Re: %traceback section in config file?



Chris Lumens wrote:
Yes, a %traceback is a type of script just like a %pre or %post.  It
executes in the event anaconda gets a traceback, which is a python
error.  We use these for automated install testing and reporting.  I
don't think they are overly useful to end users, but who knows.
Thanks, Chris. Do you know if this is documented anywhere? For example, can I get access to the traceback in the script? Are there any options to the %traceback section itself?

I might have a use for this.

If it's not documented, I'll dig out the source.

It's not documented very well, no.  You can access the traceback by
looking at /tmp/anacdump.txt.  It takes the same options as a %post
script does.

As usual, the source is the best documentation though.

- Chris

_______________________________________________
Kickstart-list mailing list
Kickstart-list redhat com
https://www.redhat.com/mailman/listinfo/kickstart-list

How far back does %traceback go?

(EL 2/3/4?)

--Michael



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