Friday, November 14, 2014

CentOS7: bring back eth interface

In case you've installed CentOS 7, notice that there are no ethX interfaces, to bring them back:

1. Use the following command to add two parameters to the linux kernel line:
sed -i "s/quiet.*/quiet net.ifnames=0 biosdevname=0\"/" /etc/default/grub
2. Recreate the new grub configuration using the following command:
grub2-mkconfig -o /boot/grub2/grub.cfg
3. Reboot the computer.

No comments:

Post a Comment