If you provide the static networking parameters as options at the
'boot:' prompt, and have a 'network' line like this in your ks.cfg,
then the system gets configured appropriately:
network --bootproto=static --noipv6
In my experience, the system is not configured correctly if you
provide the network parameters in the dialog boxes. (Don't know if
this has changed recently, like since 5.0, but it sounds like it
hasn't from your comments.)
Note that if you use a custom boot.iso with custom syslinux.cfg, you
can provide common parameters within custom targets (nameserver,
netmask, method and ks location, possibly gateway), and only have to
provide the ip, or possibly ip and gateway, at the 'boot:' prompt.
Also, the hostname is not yet configured in the %post environment, but
if you need it then, you can add this line:
hostname `grep HOSTNAME /etc/sysconfig/network |cut -d'=' -f2`
-Ed
[EMAIL PROTECTED] wrote:
Hi.
I've looked around for this, and am continuing to look for an example.
At the install prompt when you run 'linux ks=http://website/ks.cfg' and you
do not have DHCP available you are prompted for network configuration (or
you can provide via options). The IP address at this point is strictly for
the purpose of getting the kickstart file (from what I've experienced).
Once the kickstart is downloaded the network configuration inside it
overrides the local system. My question, since I know you can access the
network during the %pre script, is can you setup a script in pre that will
take the IP configuration initially provided for the ks.cfg download, and
somehow configure the IP configuration for the rest of the process?
DHCP is not an option for our environment. At the moment, if I can't
figure this part out I was going to setup a perl script for the purpose of
parsing the requested url aand handing back a re-written kickstart.
thanks
greg
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list