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

Re: controlling partitioning but not install device



On Tue, Jun 2, 2009 at 10:20 AM, Kyle Powell <kpowell redhat com> wrote:
-----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-----
Thanks.  Useful and right on the point.  I even tried to use a google query with the
basic terms from the provide URL's but if they were there, they were lost in the noise.

Thanks again.  Now to go and implement.

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