1.修改配置
[root@base-linux ~]# vi /etc/default/grub
2.使配置生效
[root@base-linux ~]# grub2-mkconfig -o /boot/grub2/grub.cfg
3.修改网卡名称,并且重命名ifcfg-ens33 ----->ifcfg-eth0
[root@base-linux ~]# cd /etc/sysconfig/network-scripts/
[root@base-linux network-scripts]# vi ifcfg-ens33
[root@base-linux network-scripts]# mv ifcfg-ens33 ifcfg-eth0
NAME=eth0