CentOS7 禁用网卡名称命名规则,启动时传递"net.ifnames=0 biosdevname=0"
/etc/default/grup
grup2-mkconfig -o /boot/grub2/grup.cfg
/etc/udev/rules.d/70-persistent-net.rules
PCI device 0x8086:0x10d3 (e1000e)
SUBSYSTEM="net", ACTION="add", DRIVERS="?*",ATTR{address}=="if-card-MAC", ATTR{dev_id}=="0x0", ATTR{type}=="1",KERNEL=="eth*", NAME="eth0"
CentOS7 网卡名称重命名为eth*
最新推荐文章于 2020-03-29 16:49:38 发布