Configuring Network Interfaces per Script
Axel Straschil <[email protected]> Thu, 09 Nov 2006 17:03:15 +0100
| Newsgroups | gmane.linux.redhat.fedora.configuration |
|---|---|
| Organization | KOSnet-EDV |
| Message-ID | <[email protected]> |
Hi! Im installing FC6 with a kickstart on HP servers with 4 NIC's, two onboard and a pci-card with two more interfaces. The internal become eth2/3, the external become eth0/1, and after the installation, fedora gives me another interface eth4, so I got eth2 twice ;-) Im installing ks with dhcp over eth2 with option ksdevice=eth2. Anyway, what I want ist to say in the %post section of my kickstart-file that anaconda should delete all eth? interfaces and reinstall them like I need them, also binding the eth's to a MAC addres with the HWADDR parameter. In fc5, I did this with something like rm -f /etc/sysconfig/network-scripts/ifcfg-eth* and then creating the ifcfg-eth? files per script. Doing that with FC6, I get with magic an ifcfg-eth4 which i didn't create, and errors when booting. So, my question: What ist the best method to configure the NIC's within a script and bind then to a specific MAC? Thanks, AXEL. -- Fedora-config-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/fedora-config-list