Re: Human interaction in %PRE text mode with snack Dialog boxes

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

 



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

_______________________________________________
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