> From: Kaesbauer Michael <[email protected]> > Hi, > > up to now I found no way to write an udev rule which renames a > specific NIC by using a MAC address that is returned by a bash > script. The reason for getting the MAC address by the bash script is > that the renaming NIC rule should be applied to different CPUs (with > different MACs). > > ...snip...
I have a similar problem, wanting to name NICs by location in the box. My udev rules use KERNELS, which seems to be consistent for me, maybe it'll work for you. KERNELS=="0000:02:00.0", NAME="front0" KERNELS=="0000:06:03.0", NAME="rear0" KERNELS=="0000:06:04.0", NAME="rear1"
_______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
