步骤

]#>>cd /etc/sysconfig/network-scripts/

]#>>mv ifcfg-eno16777736 ifcfg-eth0

]#>>vim /etc/sysconfig/grub 

GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet net.ifnames=0 biosdevname=0"

]#>>grub2-mkconfig -o /boot/grub2/grub.cfg

]#>>vim /etc/udev/rules.d/70-persistent-ipoib.rules  --->不是克隆的主机可省略

NAME=eth0

]#>>vim /etc/sysconfig/network-scripts/ifcfg-eth0 

NAME=eth0

DEVICE=eth0

]#>>reboot