[CentOS] Centos 7 - "Device eth1 does not seem to be present, delaying initialization".

Wed Oct 21 17:06:13 UTC 2015
Gordon Messmer <gordon.messmer at gmail.com>

On 10/21/2015 01:20 AM, Rafał Radecki wrote:
> I have three servers, all with centos 7 installed 3 days ago. I need on
> them "old" naming scheme (ethX) for network interfaces, because of that:
>
> # grep GRUB_CMDLINE_LINUX /etc/sysconfig/grub
> GRUB_CMDLINE_LINUX="rd.lvm.lv=centos_node-XY/swap rd.lvm.lv=centos_node-XY/root
> rhgb quiet ipv6.disable=1 net.ifnames=0"

If you set net.ifnames=0 and still have trouble with names, then you're 
probably fighting with biosdevname, which you should also disable.

Yes, there are two subsystems that rename ethernet interfaces.  It's gross.

Add "biosdevname=0" to your kernel args, and the udev rules shouldn't be 
necessary.

If you decide to keep the systems as they are, you should probably 
reboot several times to make sure the problem is actually fixed.  It was 
intermittent before, and it may still be present.

Otherwise, you can configure dracut to always include a file by creating 
/etc/dracut.conf.d/persistent-net.conf with one line:

install_items+="/etc/udev/rules.d/70-persistent-net.rules"