Re: Human interaction in %PRE text mode with snack Dialog boxes
From: Jake Vickers <jake v2gnu com>
To: Discussion list about Kickstart <kickstart-list redhat com>
Subject: Re: Human interaction in %PRE text mode with snack Dialog boxes
Date: Tue, 01 Apr 2008 14:50:55 -0400
Meyers, John J wrote:
Hi
All,
The %pre mode seems to conduct I/O with tty3. With primary anaconda
user interaction displays on tty1. I need to interact with the user on
tty1 during %pre; Using python and snack. Due to using various weird
hardware in our environment a graphical install dos not work.
The
Code below is just an example of what I've tried.
Never tried python in the %pre myself, but couldn't a chvt work for you?
ex:
%pre
chvt 3 # changes to TTY3
echo ""
echo "Enter IP address" # or whatever you need to do
read IP
chvt 1 # change back to TTY1