Ok ...... am I suppose to get this script on %post, right ?

    Another question ..... on post install, are all the mounts mounted ? I
mean, will

echo "nameserver 192.168.1.2" > /etc/resolv.conf

    work ? Of I'll have to use special paths ? If special paths are needed,
which path should I use to access files on /etc ??

    And thanks very much for your replies :)

    Sincerily,
    Leonardo Rodrigues

----- Original Message -----
From: "Anthony E. Greene" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 25, 2002 10:59 PM
Subject: Re: anaconda custom install


> -----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




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

Reply via email to