Welcome to FreeSoftwareServers Confluence Wiki

sed -i 's|quiet|quiet net.ifnames=0 biosdevdame=0|' /etc/default/grub
grub2-mkconfig -o /boot/grub2/grub.cfg
mv /etc/sysconfig/network-scripts/ifcfg-eno* /etc/sysconfig/network-scripts/ifcfg-eth0
nano /etc/sysconfig/network-scripts/ifcfg-eth0 && reboot

Note: I usually remove HWADDR and UUID because I am in a virtual Environment and It has caused issues with CentOS (and NAME="eno*)

[root@localhost network-scripts]# cat ifcfg-eth0


Credit to NerdVittles!! Stop trying to fix the wheel CentOS, eth0 worked fine.

  • No labels