将Cent0S 7的网卡名称eno16777736改为eth0
2016-09-04 16:14
274 查看
新建的虚拟机redhat linux7默认的网卡名称是eno16777736,找不到eth0如图所示:
修改网卡名称:
输入如下命令,进入对应目录,编辑文件:
vim /etc/sysconfig/grub
然后,往这个文件中添加“net.ifnames=0 biosdevname=0”内容,如下图所示:
上图中,红框部分是我所添加的内容(注意它的位置)。
紧接着,执行如下命令:
grub2-mkconfig -o /boot/grub2/grub.cfg
效果如下:
然后,重启系统后查看网卡名称:
大功告成!
转自:http://www.yunjuu.com/info/157811.html
修改网卡名称:
输入如下命令,进入对应目录,编辑文件:
vim /etc/sysconfig/grub
然后,往这个文件中添加“net.ifnames=0 biosdevname=0”内容,如下图所示:
上图中,红框部分是我所添加的内容(注意它的位置)。
紧接着,执行如下命令:
grub2-mkconfig -o /boot/grub2/grub.cfg
效果如下:
然后,重启系统后查看网卡名称:
大功告成!
转自:http://www.yunjuu.com/info/157811.html
相关文章推荐
- 将Cent0S 7的网卡名称eno16777736改为eth0
- 将Cent0S 7的网卡名称eno16777736改为eth0
- 将Cent0S 7的网卡名称eno16777736改为eth0
- CentOS 7将网卡名称eno16777736改为eth0
- Linux Cent0S 7的网卡名称eno16777736改为eth0
- 将RHEL 7的网卡名称eno16777736改为eth0
- CentOS7下将网卡名称eno16777736改为eth0
- Redhat 7将网卡名称eno16777736改为eth0
- CentOS 7将网卡名称eno16777736改为eth0(转)
- CebtOS7系统网卡名称eno16777736改为eth0
- 把CentOS 7.x网卡名称eno16777736改为eth0
- CentOS 7将网卡名称eno16777736改为eth0
- CentOS 7将网卡名称eno16777736改为eth0
- RedHat7将网卡名称eno16777736改为eth0
- 将RHEL7/centos7系统网卡名称eno16777736改为eth0
- Linux学习之CentOS(三)----将Cent0S 7的网卡名称eno16777736改为eth0
- RedHat7将网卡名称eno16777736改为eth0
- RedHat7将网卡名称eno16777736改为eth0
- 修改Centos7的网卡名称ens160、eno16777984改为eth0
- Ubuntu中将网卡名称eno16777736改回eth0