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

On 25-Apr-2002/19:47 -0300, Leonardo Magalhães <[EMAIL PROTECTED]> wrote:
>Using a kickstart config file for automatic installation, is it possible
>to get kickstart to ASK the network configuration ?

You should be able to write a shell script that asks the questions,
captures the answers and configures the machine. The dialog utility might
be good for this:


#!/bin/sh
title="Post-install Network Configuration"
dialog --backtitle "$title" --inputbox "Enter IP Address" 08 30 2>ipaddr 
IPADDR=`cat ipaddr`
if dialog --backtitle "$title" --yesno "IP Address is $IPADDR?" 08 30; then
  dialog --backtitle "$title" --msgbox "Confirmed IP is \n $IPADDR." 08 30
else
  dialog --backtitle "$title" --msgbox "You're clueless!" 08 30
fi
clear


Tony
- -- 
Anthony E. Greene <mailto:[EMAIL PROTECTED]%3E>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D
AOL/Yahoo Chat: TonyG05         HomePage: <http://www.pobox.com/~agreene/>
Linux. The choice of a GNU generation <http://www.linux.org/>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Anthony E. Greene <mailto:[EMAIL PROTECTED]> 0x6C94239D

iD8DBQE8yLR3pCpg3WyUI50RAlebAJ9CdfdUod//X7c8i8CYYsRMB/oCSgCfaqmA
uy/pXntLZ+o0GTko9IKXtUI=
=YCVx
-----END PGP SIGNATURE-----



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to