CentOS7下将网卡名称eno16777736改为eth0
2016-08-05 16:44
543 查看
输入如下命令,进入对应目录,编辑文件:view sourceprint?
然后,往这个文件中添加“net.ifnames=0 biosdevname=0”内容,如下图所示:
上图中,红框部分是我所添加的内容(注意它的位置)。紧接着,执行如下命令:view sourceprint?
效果如下:
然后,重启系统后查看网卡名称:
1.
vim /etc/sysconfig/grub
然后,往这个文件中添加“net.ifnames=0 biosdevname=0”内容,如下图所示:
上图中,红框部分是我所添加的内容(注意它的位置)。紧接着,执行如下命令:view sourceprint?
1.
grub2-mkconfig -o /boot/grub2/grub.cfg
效果如下:
然后,重启系统后查看网卡名称:
相关文章推荐
- RedHat7将网卡名称eno16777736改为eth0
- CentOS 7将网卡名称eno16777736改为eth0(转)
- Redhat 7将网卡名称eno16777736改为eth0
- 把CentOS 7.x网卡名称eno16777736改为eth0
- 将Cent0S 7的网卡名称eno16777736改为eth0
- 将Cent0S 7的网卡名称eno16777736改为eth0
- 将Cent0S 7的网卡名称eno16777736改为eth0
- 修改Centos7的网卡名称ens160、eno16777984改为eth0
- Linux Cent0S 7的网卡名称eno16777736改为eth0
- CentOS 7将网卡名称eno16777736改为eth0
- RedHat7将网卡名称eno16777736改为eth0
- 将RHEL 7的网卡名称eno16777736改为eth0
- CentOS 7将网卡名称eno16777736改为eth0
- RedHat7将网卡名称eno16777736改为eth0
- CentOS 7将网卡名称eno16777736改为eth0
- Linux学习之CentOS(三)----将Cent0S 7的网卡名称eno16777736改为eth0
- centos7下的系统网卡名称eno16777736更改为eth0
- 将RHEL7/centos7系统网卡名称eno16777736改为eth0
- 将Cent0S 7的网卡名称eno16777736改为eth0
- CebtOS7系统网卡名称eno16777736改为eth0