-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
initramfs networking config overrides /etc/NetworkManager/system-connections on first boot #233
Comments
Note that this is a PXE install, so the first boot is the PXE installer and the second boot is the Ignition run. So the DHCP config is propagating from the Ignition run to the real root. |
The network setup by Dracut during the first boot ignition bleeds through by leaving the interfaces configured. I'm currently working around this by adding the following to the Ignition config:
|
@EnigmaCurry @basvdlei - can you try out the latest testing devel image from https://builds.coreos.fedoraproject.org/browser and see if it fixes the problem for you. |
@dustymabe this issue is fixed for me. I just tested with version 31.20200325.20.0 and my work-around is no longer necessary. Thanks! |
We are now using NetworkManager in the initramfs and also propagating network information from the initramfs (kargs) when appropriate, which we think fixes this issue. See #394 (comment) and the preceding discussion for more details. |
I am writing my own NetworkManager config via ignition into /etc/NetworkManager/system-connections. It works, but only after the second reboot of the system. On the first reboot there is another automagicly appearing NetworkManager config that overrides it in /var/run/NetworkManager/system-connections/.
One theory for this is that this is coming from initramfs on the first boot because the ignition is only applied at the end of the first reboot, and thus it requires a second reboot to actually use the config that was applied in ignition.
Here's a log of my encounter with this bug. The NetworkManager log shows before and after the second reboot:
The text was updated successfully, but these errors were encountered: