ifcfg-ethXXX files "generated by dracut initrd"

Issues related to configuring your network
Post Reply
vtwin@cox.net
Posts: 38
Joined: 2017/02/16 16:41:29

ifcfg-ethXXX files "generated by dracut initrd"

Post by vtwin@cox.net » 2017/09/20 17:22:01

My /etc/sysconfig/network-scripts/ifcfg-ethXXX files are being overwritten at boot by dracut.

This problem is apparently reported on the Redhat site:

https://access.redhat.com/solutions/3017441


does anyone know what the "solution" is? Running 7.4 w/ all the latest updates applied.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: ifcfg-ethXXX files "generated by dracut initrd"

Post by TrevorH » 2017/09/21 13:22:24

Create a configuration .conf file under the /etc/dracut.conf.d/ directory with the following contents:

omit_dracutmodules+="ifcfg"

Rebuild the initramfs with dracut: dracut -f
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

vtwin@cox.net
Posts: 38
Joined: 2017/02/16 16:41:29

Re: ifcfg-ethXXX files "generated by dracut initrd"

Post by vtwin@cox.net » 2017/10/10 11:21:30

Thank you Trevor. Worked like a champ.

Post Reply