mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-27 03:52:09 +08:00
In RHEL8.0->8.2 this all worked fine, because dracut was using legacy networking. So, needsneed=1 would bring up network, it would not save it to ifcfg files due to removing that dracut module all then NM would take over. However, on RHEL8.3+ dracut started using NetworkManager. So, it would bring up network, nbde_client would flush those so they had no ip's on them, but dracut would hand off a "Wired Connection" NM profile (even tho the interface had no ips now). It would then of course activate it and boom, mess up your real Networking. It seems the logic for handing off this network config is pivoting on needsnet=1. So, if we switch to just 'ip=dhcp' it works and doesn't mess with your real networking. TODO: report this and try and get a real fix in either nbde_client or dracut or both. Signed-off-by: Kevin Fenzi <kevin@scrye.com>