[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: anaconda screens
- From: "Luis Correia" <luis f correia gmail com>
- To: "Discussion list about Kickstart" <kickstart-list redhat com>
- Subject: Re: anaconda screens
- Date: Thu, 7 Aug 2008 10:37:20 +0100
Hi Joel,
On Thu, Aug 7, 2008 at 10:23, Joel Andres Granados <jgranado redhat com> wrote:
> Luis Correia wrote:
>>
>> Hi,
>>
>> I'm about to do some funky %pre stuff in python, to decide whetner or
>> not to install the machine and need some user interaction.
>> We're only doing it in text mode, no need for fancy graphics.
>>
>> How do I from the %pre script write stuff to the screen, get input,
>> maybe a button or two ?
>>
>> I've rummaged through the anaconda code, but it all seems a bit strange to
>> me.
>>
>> Thanks for all the help you could provide,
>> Luis Correia
>>
>> _______________________________________________
>> Kickstart-list mailing list
>> Kickstart-list redhat com
>> https://www.redhat.com/mailman/listinfo/kickstart-list
>
> Took a quick look at the code and it seems that it executes whatever is in
> pre with a redirect to tty3, including the input. This suggests to me that
> you can basically do a bash read (or however you want to prompt the user)
> and it will prompt you on the vt3. It wont work if you are installing
> through serial console though. Didn't actually test this.
>
> Hope it helps.
So, that means that, in order to interact with the user in the main
tty, I must modify Anaconda, right?
If yes, then I could probably use the 'updates' method...
> --
> Joel Andres Granados
> Red Hat / Brno, Czech Republic
Luis Correia
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]