Network configuration ifcfg files are overwritten at boot and contain a comment "Generated by dracut initrd"
Issue
-
The system's network configuration is always overwritten after a reboot. The new, unexpected, ifcfg files begin with a comment that they were made by
dracut initrd$ cat /etc/sysconfig/network-scripts/ifcfg-ens192 # Generated by dracut initrd NAME="eno1" DEVICE="eno1" ONBOOT="yes" NETBOOT="yes" UUID="1cc18a22-69b5-4d35-ad4d-4eb2ab1dbfc2" IPV6INIT="yes" BOOTPROTO="none" TYPE="Ethernet" DNS1="192.168.8.1" IPADDR="192.168.1.123" PREFIX="24" GATEWAY="192.168.1.1" DEFROUTE="yes" IPV4_FAILURE_FATAL="no" IPV6_AUTOCONF="yes" IPV6_DEFROUTE="yes" IPV6_PEERDNS="yes" IPV6_PEERROUTES="yes" IPV6_FAILURE_FATAL="no"
Environment
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- dracut
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
