RE: user input in the %post section?

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

 



A sample ks.cfg file that I picked up somewhere had the following example of
user interaction during the install:

	# redirect I/O to the 3rd tty
	exec < /dev/tty3 > /dev/tyt3
	echo -n "Enter something: "
	read yn
	echo "We got $yn"

Apologies for not having the source to be able to credit, and you'll have to
do the <CTL>+<ALT>+<F3> thing, but this may get you in the direction you
need.

Gordon 


-----Original Message-----
From: Todd Chilson [mailto:tchilson@xxxxxxxxxx]
Sent: Monday, July 08, 2002 10:34 AM
To: kickstart-list@xxxxxxxxxx
Subject: user input in the %post section?


Hello,

  I have a Kickstart script that prompts for user input in the %post
section.  However, I have to ask for user input.  So, it would look
something like:
echo "Enter blast host number (1-34, etc.): "
read BLNUM





[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