[root@openstack ~]# cat /usr/lib/udev/rules.d/60-net.rules
ACTION=="add", SUBSYSTEM=="net", DRIVERS=="?*", ATTR{type}=="1", PROGRAM="/lib/udev/rename_device", RESULT=="?*", NAME="$result"
SUBSYSTEM==net, ACTION==add, DRIVERS==?*, ATTR{address}==, ATTR{type}==1, KERNEL==*, NAME=bond0
SUBSYSTEM==net, ACTION==add, DRIVERS==?*, ATTR{address}==, ATTR{type}==1, KERNEL==*, NAME=bond1
SUBSYSTEM==net, ACTION==add, DRIVERS==?*, ATTR{address}==, ATTR{type}==1, KERNEL==*, NAME=bond2
SUBSYSTEM==net, ACTION==add, DRIVERS==?*, ATTR{address}==94:29:2F:6D:70:B6, ATTR{type}==1, KERNEL==*, NAME=eth7
SUBSYSTEM==net, ACTION==add, DRIVERS==?*, ATTR{address}==94:29:2F:6D:70:B5, ATTR{type}==1, KERNEL==*, NAME=eth6
SUBSYSTEM==net, ACTION==add, DRIVERS==?*, ATTR{address}==94:29:2F:6D:70:B8, ATTR{type}==1, KERNEL==*, NAME=eth5
SUBSYSTEM==net, ACTION==add, DRIVERS==?*, ATTR{address}==94:29:2F:6D:70:B7, ATTR{type}==1, KERNEL==*, NAME=eth4
SUBSYSTEM==net, ACTION==add, DRIVERS==?*, ATTR{address}==94:29:2F:6D:C8:02, ATTR{type}==1, KERNEL==*, NAME=eth3
SUBSYSTEM==net, ACTION==add, DRIVERS==?*, ATTR{address}==94:29:2F:6D:C8:01, ATTR{type}==1, KERNEL==*, NAME=eth2
SUBSYSTEM==net, ACTION==add, DRIVERS==?*, ATTR{address}==94:29:2F:6D:C8:00, ATTR{type}==1, KERNEL==*, NAME=eth1
SUBSYSTEM==net, ACTION==add, DRIVERS==?*, ATTR{address}==94:29:2F:6D:C7:FF, ATTR{type}==1, KERNEL==*, NAME=eth0
修改/etc/sysconfig/grub
biosdevname=0 net.ifnames=0
生效
grub2-mkconfig -o /boot/grub2/grub.cfg
重启
Reboot
检查端口名字