标签:centos7 min span 系统 nal ase 参数 code 重启
有时候新装的CentOS7系统网卡默认名称是eno16777736,为方便改成传统eth0
# cd /etc/sysconfig/network-script/ # vim ifcfg-eno16777736 #修改NAME和DEVICE为eth0 # mv ifcfg-eno16777736 ifcfg-eth0
# vim /etc/default/grub #添加net.ifnames=0 biosdevname=0 GRUB_TIMEOUT=3 GRUB_DISTRIBUTOR="$(sed ‘s, release .*$,,g‘ /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb net.ifnames=0 biosdevname=0 quiet ipv6.disable=1" GRUB_DISABLE_RECOVERY="true"
# grub2-mkconfig -o /boot/grub2/grub.cfg
# shutdown -r now
标签:centos7 min span 系统 nal ase 参数 code 重启
原文地址:http://www.cnblogs.com/st-jun/p/7735923.html