I'm just hitting this one now. The culprit:
http://fedoraproject.org/wiki/Features/ConsistentNetworkDeviceNaming
To reverse it:
http://www.arachnoid.com/linux/network_names/index.html
Going forward, it's probably best to "go with the flow". To get it working right now, I've just excluded the 'post_install_network_config' snippet and doogled
the 'network_config' & 'pre_install_network_config' snippets (mine were custom already; n/s if the doogling is necessary with the stock scripts).
The whole Cobbler eth-renaming thing isn't necessary anymore with the "new way", so RHEL6-stly network snippets can be simplified considerably.
From: cobbler-bounces@lists.fedorahosted.org [mailto:cobbler-bounces@lists.fedorahosted.org]
On Behalf Of Gonzalo Servat
Sent: Tuesday, February 07, 2012 3:39 AM
To: mumenthaler@puzzle.ch; cobbler mailing list
Subject: Re: [cobbler] NIC naming in RHEL 6.x
On Tue, Feb 7, 2012 at 7:27 PM, Peter Mumenthaler <mumenthaler@puzzle.ch> wrote:
Hi Gonzalo,
Maybe this can help writing your udev rule based on the pci bus numbering:
lspci | grep Eth | awk '{print "KERNEL==\"eth*\", ID==\"0000:"$1"\",
NAME=\"eth"count++"\""}' >> /etc/udev/rules.d/70-persistent-net.rules
Hi Peter,
Thanks for your reply. Are you suggesting I just append more interfaces to the file? Shouldn't I either write it to a new file or overwrite the existing one? I'm not sure when /lib/udev/write_net_rules gets triggered and rewrites 70-persistent-net.rules.
- Gonzalo