ifcfg-ethXXX files "generated by dracut initrd"

Issues related to configuring your network
Post Reply
vtwin@cox.net
Posts: 37
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: 32401
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
CentOS 8 died a premature death at the end of 2021 - migrate to Rocky/Alma/OEL/Springdale ASAP.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke

vtwin@cox.net
Posts: 37
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