Wednesday, June 1, 2016

Change ethernet name enoXX to ethXX in Centos 7

1. Edit /etc/default/grub in any text editor (I used nano)



2. Edit the 6th line, add below code at the end before the quotation mark, then save



  • net.ifnames=0 biosdevname=0



3. Create new grub configuration file by executing grub2-mkconfig -o /boot/grub2/grub.cfg



4. Reboot the machine

5. Check the ethernet





No comments:

Post a Comment