help with network configuration

Gianluca Varenni gianluca.varenni at gmail.com
Wed Jan 19 22:05:10 UTC 2011


Hello all.

 

Is there a way in the kickstart configuration file to tell anaconda to
configure the network interfaces with some parameters (e.g. DHCP vs static
IP, onboot.) but do *not* bring them up during installation (so in practice
just write the ifcfg-ethX files)?

I tried with

 

network  --bootproto=dhcp --device=eth0 --onboot=on -hostname=myhost

 

but the problem is that during the installation it tries to bring eth0 up
and get the IP address (eventually timing out).

If I don't put that line in the kickstart file, all the interfaces are
silently configured for DHCP and onboot=yes, and the hostname is not
configured.

 

Thanks!

 

Have a nice day

GV

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20110119/c07f9e72/attachment.htm>


More information about the Kickstart-list mailing list