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

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

 



It would be convenient if Anaconda in %post would poll for example /tmp/message.
If the md5sum of the message changes then redisply.  This would be a simple way
to allow any to put up status messages as part of post.

> -----Original Message-----
> From: kickstart-list-admin@xxxxxxxxxx 
> [mailto:kickstart-list-admin@xxxxxxxxxx] On Behalf Of 
> james.oden@xxxxxxxxxxx
> Sent: Tuesday, August 12, 2003 3:17 PM
> To: kickstart-list@xxxxxxxxxx
> Subject: 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@xxxxxxxxx>             To:      
> <kickstart-list@xxxxxxxxxx>                                         
>                       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@xxxxxxxxxx
> > [mailto:kickstart-list-admin@xxxxxxxxxx] On Behalf Of Jeremy Katz
> > Sent: Tuesday, August 12, 2003 1:15 PM
> > To: kickstart-list@xxxxxxxxxx
> > Subject: Re: redirect Kickstart %post output to serial console/port
> >
> >
> > On Tue, 2003-08-12 at 13:47, james.oden@xxxxxxxxxxx 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@xxxxxxxxxx
> > https://www.redhat.com/mailman/listinfo/kickstart-list
> >
> 
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
>  https://www.redhat.com/mailman/listinfo/kickstart-list
> 
> 
> 
> 
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/kickstart-list
> 




[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux