[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: Interactive in %post?
- From: Tedman Eng <teng dataway com>
- To: "'Discussion list about Kickstart'" <kickstart-list redhat com>
- Subject: RE: Interactive in %post?
- Date: Tue, 3 Jan 2006 13:54:14 -0800
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 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 redhat com
> https://www.redhat.com/mailman/listinfo/kickstart-list
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]