(2) 为grub2生成其配置文件grub2-mkconfig -o /etc/grub2.cfg(3) 重启系统生效
centos7修改网卡名为eth0
原文:https://blog.51cto.com/13293070/2425447