Enabling eth0 on boot on CentOS 7

By default after a new install of CentOS 7, the eth0 interface is not enabled at boot. To enable, edit /etc/sysconfig/network-scripts/ifcfg-eth0

Find this line at the bottom:

ONBOOT=no

and change to yes. Reboot, now eth0 should be active.

More info here.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.