CentOS7 网卡名称重命名为eth*

CentOS7 禁用网卡名称命名规则,启动时传递"net.ifnames=0 biosdevname=0"
/etc/default/grup
grup2-mkconfig -o /boot/grub2/grup.cfg

/etc/udev/rules.d/70-persistent-net.rules
PCI device 0x8086:0x10d3 (e1000e)
SUBSYSTEM="net", ACTION="add", DRIVERS="?*",ATTR{address}=="if-card-MAC", ATTR{dev_id}=="0x0", ATTR{type}=="1",KERNEL=="eth*", NAME="eth0"

原文地址:https://www.cnblogs.com/ruiy/p/5387500.html