Skip to content

Fixes #36433 - Add NetworkManager config to support dracut-loaded rootfs#180

Open
devyntk wants to merge 1 commit into
theforeman:masterfrom
devyntk:networkmanager-fix
Open

Fixes #36433 - Add NetworkManager config to support dracut-loaded rootfs#180
devyntk wants to merge 1 commit into
theforeman:masterfrom
devyntk:networkmanager-fix

Conversation

@devyntk

@devyntk devyntk commented Mar 9, 2026

Copy link
Copy Markdown

When loading the rootfs via dracut's live kernel parameter (as described in the the README), NetworkManager will pick this configured interface up and name it something like "Wired Connection". This means that the various pieces of code that rely on the primary connection profile in NM being named "primary" will fail, as that profile cannot be activated since it conflicts with the autogenerated one. The included NetworkManager config file will ignore connections that come from NetworkManager's initrd generator, meaning it will initialize the connection anew after the rootfs is already mounted.

When loading the rootfs via dracut's live kernel parameter (as described
in the the README), NetworkManager will pick this configured interface
up and name it something like "Wired Connection". This means that the
various pieces of code that rely on the primary connection profile in NM
being named "primary" will fail, as that profile cannot be activated
since it conflicts with the autogenerated one. The included
NetworkManager config file will ignore connections that come from
NetworkManager's initrd generator, meaning it will initialize the
connection anew after the rootfs is already mounted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants