controlling partitioning but not install device

Kyle Powell kpowell at redhat.com
Tue Jun 2 17:20:20 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matt Rose wrote:
> How would you write a pre script that queried the user?  Kickstart just
> runs pre scripts, and doesn't allow interaction, as far as I know.
> 
> Matt

You can use chvt (and possibly exec with redirection) to switch to another
virtual termnial (usually VT3) in the %pre script, ask a user for input, then
switch back to VT1 (or 6 if you didn't specify a text based kickstart) and let
the kickstart continue.

http://www.redhat.com/archives/kickstart-list/2003-September/msg00053.html
http://www.redhat.com/archives/kickstart-list/2004-November/msg00033.html
http://www.redhat.com/archives/kickstart-list/2007-September/msg00015.html
http://www.redhat.com/archives/kickstart-list/2008-November/msg00062.html
- --
Kyle Powell | Red Hat | Senior Consultant, RHCE
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFKJV9U7pTtanQdBU4RAs+gAKCLHSWB5Bwu6H/yqxuI69r/s+iuowCfWgSn
4OSf8mwMuGuMse9QFlXsWNY=
=1nx1
-----END PGP SIGNATURE-----




More information about the Kickstart-list mailing list