編輯/etc/default/grub配置文件
[root@localhost ~]# vi /etc/default/grub
修改爲:禁止修改其網絡設備名稱
爲grub2生成新的配置文件
重新啓動計算機