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

RE: redirect Kickstart %post output to serial console/port



It would take making your post script be a python script using the -p
option to %post.

The problem is that anaconda still needs to suspend and resume the session,
as two applications using newt
to control the same tty is very ugly.

Cheers...james


                                                                                                                                
                      "Egan Ford"                                                                                               
                      <egan sense net>             To:      <kickstart-list redhat com>                                         
                      Sent by:                     cc:                                                                          
                      kickstart-list-admin         Subject: RE: redirect Kickstart %post output to serial console/port          
                      @redhat.com                                                                                               
                                                                                                                                
                                                                                                                                
                      08/12/03 04:17 PM                                                                                         
                      Please respond to                                                                                         
                      kickstart-list                                                                                            
                                                                                                                                
                                                                                                                                




What would it take to use snack in post for pretty messages?  Can you
provide an
example?

> -----Original Message-----
> From: kickstart-list-admin redhat com
> [mailto:kickstart-list-admin redhat com] On Behalf Of Jeremy Katz
> Sent: Tuesday, August 12, 2003 1:15 PM
> To: kickstart-list redhat com
> Subject: Re: redirect Kickstart %post output to serial console/port
>
>
> On Tue, 2003-08-12 at 13:47, james oden tekelec com wrote:
> > If you wanted to make this safe for newt, you would need to
> patch the
> > anaconda to make a call
> > to newtSuspend(); before calling a %post script, and a call to
> > newtResume(); after the script returns.
> > Now those are the c library calls, and probably snack (the
> python binding
> > to libnewt) should have these
> > exposed (though I don't know that).
>
> They're exposed...  screen.suspend() and screen.resume()
> where screen is
> a SnackScreen
>
> Jeremy
>
>
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list redhat com
> https://www.redhat.com/mailman/listinfo/kickstart-list
>


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







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