标签:grub failure swap abd device terminal swa output bios
[root@localhost ~]# vi /etc/sysconfig/grub[root@localhost ~]# grub2-mkconfig -o /boot/grub2/grub.cfg
[root@localhost ~]# mv /etc/sysconfig/network-scripts/ifcfg-eno16777736 /etc/sysconfig/network-scripts/ifcfg-eth0
[root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0
TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=eth0
UUID=a6b97d26-ff58-4311-8096-240a3565babd
DEVICE=eth0
ONBOOT=no
重启系统即可
RedHat/CentOS 7如何更改网卡名为eth0 eth1......
标签:grub failure swap abd device terminal swa output bios
原文地址:https://blog.51cto.com/12510191/2364215