, 2012 3:39 AM
To: mumentha...@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
mailto:mumentha...@puzzle.ch>> wrote:
Hi Gonzalo,
Maybe this can help writing your udev rule based on the pci bus numbering:
lspci
On Tue, Feb 7, 2012 at 7:27 PM, Peter Mumenthaler 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==\":"$1"\",
> NAME=\"eth"count++"\""}' >> /etc/udev/rules.d/70-persistent-net.rules
>
Hi Gonzalo,
Maybe this can help writing your udev rule based on the pci bus numbering:
lspci | grep Eth | awk '{print "KERNEL==\"eth*\", ID==\":"$1"\",
NAME=\"eth"count++"\""}' >> /etc/udev/rules.d/70-persistent-net.rules
cheers
peter
On 02/07/2012 08:42 AM, Gonzalo Servat wrote:
> Hi All,
Hi All,
I've noticed that in RHEL 6.1, setting mac addresses in Cobbler (and, thus,
in /etc/sysconfig/network-scripts/ifcfg-* -> HWADDR) sometimes results in
interfaces being renamed. In /etc/udev/rules.d/70-persistent-net.rules, I
end up with:
# PCI device 0x8086:0x105e (e1000e)
SUBSYSTEM=="net"