Please, give me a clue, where it's located?
it's not under /etc/udev/rules.d
anymore
# find / -name "*persistent-net.rules"
didn't find anything...
Please, give me a clue, where it's located?
it's not under /etc/udev/rules.d
anymore
# find / -name "*persistent-net.rules"
didn't find anything...
Centos 7 and Redhat 7 by defaults uses biosdevname
There is one more method to control network link names in RHEL/CentOS 7 with systemd.
Create new dir if it is absent:
Create new rule file in it. File extension must be .link, or it will be ignored
Create configuration file for this interface:
Here systemd.link(5) you could read description how to create custom rules, there are many options for naming. Also there are some examples. Unfortunately this man page systemd.link(5) is absent in RHEL7, but is works.
Here you could read about new common naming policy of network interfaces. You may change this policy for some interfaces in system or for all interfaces.
If it is not there, you can simply create it!
The rules will apply. Here is my example:
Try /usr/lib/udev/rules.d/60-net.rules