<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="sans-serif">Thanks! I didn't realize you
could programmatically change vt's in the anaconda image.<br>
<br>
Matt<br>
</font></font><br>
Kyle Powell wrote:
<blockquote cite="mid:4A255F54.3000203@redhat.com" type="cite">
<pre wrap="">-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Matt Rose wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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
</pre>
</blockquote>
<pre wrap=""><!---->
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.
<a class="moz-txt-link-freetext" href="http://www.redhat.com/archives/kickstart-list/2003-September/msg00053.html">http://www.redhat.com/archives/kickstart-list/2003-September/msg00053.html</a>
<a class="moz-txt-link-freetext" href="http://www.redhat.com/archives/kickstart-list/2004-November/msg00033.html">http://www.redhat.com/archives/kickstart-list/2004-November/msg00033.html</a>
<a class="moz-txt-link-freetext" href="http://www.redhat.com/archives/kickstart-list/2007-September/msg00015.html">http://www.redhat.com/archives/kickstart-list/2007-September/msg00015.html</a>
<a class="moz-txt-link-freetext" href="http://www.redhat.com/archives/kickstart-list/2008-November/msg00062.html">http://www.redhat.com/archives/kickstart-list/2008-November/msg00062.html</a>
- --
Kyle Powell | Red Hat | Senior Consultant, RHCE
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - <a class="moz-txt-link-freetext" href="http://enigmail.mozdev.org">http://enigmail.mozdev.org</a>
iD8DBQFKJV9U7pTtanQdBU4RAs+gAKCLHSWB5Bwu6H/yqxuI69r/s+iuowCfWgSn
4OSf8mwMuGuMse9QFlXsWNY=
=1nx1
-----END PGP SIGNATURE-----
_______________________________________________
Kickstart-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kickstart-list@redhat.com">Kickstart-list@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/kickstart-list">https://www.redhat.com/mailman/listinfo/kickstart-list</a>
</pre>
</blockquote>
</body>
</html>