Interactive in %post?

Tedman Eng teng at dataway.com
Tue Jan 3 21:54:14 UTC 2006


Check the list archives also for discussion of using the 'dialog' program 
from a kickstart %post script.

There's an assortment of widgets built into dialog that you may find useful.


> -----Original Message-----
> From: Michael Shuler [mailto:mshuler at rackspace.com]
> Sent: Tuesday, January 03, 2006 12:38 PM
> To: Discussion list about Kickstart
> Subject: Re: Interactive in %post?
> 
> 
> Matt Sturtz wrote:
> > I tried this on my system, and I can switch to TTY2 and see 
> the shell
> > running, but don't seem to have any control over it...  Is it more
> > complicated than just putting "/bin/bash" on a line by 
> itself?  Which TTY
> > should the shell be showing up on?
> 
> It will show up where you tell it to, or in your current TTY  ;)
> 
> Try running %post on the first unused TTY:
> 
> %post
> # change to new vt and set stout/stdin
> exec < /dev/tty6 > /dev/tty6
> chvt 6
> 
> # write or make calls to post-install scripts here
> 
> # change back to first vt
> chvt 1
> 
> -- 
> Kind Regards,
> Michael Shuler
> Rackspace Managed Hosting
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list
> 




More information about the Kickstart-list mailing list