Description of problem: Anaconda should turn off all devices after switchroot when we have ip=eth0:dhcp specified as an initramfs kernel param as other devices (that are possibly breaking correct routing) are up in addition to the desired eth0 one. Version-Release number of selected component (if applicable): rawhide (to be F36) How reproducible: always Steps to Reproduce: 1. have a box with multiple ethernet devices 2. add a kernel param to boot from the possibly slowest one 3. have anaconda having just the one boot device enabled Actual results: all devices enabled Expected results: just the one specified with the boot param Additional info:
I think it could be valuable to have a boot parameter that would disable creating of default auto connections by NM (and activating of all devices) after switch root. It is disabled by default in RHEL where we enable autoconnections only if there is no explicit network configuration and no kickstart: https://github.com/rhinstaller/anaconda/pull/3481. In Fedora we could use similar mechanism to implement inst.net.noautodefault boot option.
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36.
Upstream PR: https://github.com/rhinstaller/anaconda/pull/3950 Kickstart test PR: https://github.com/rhinstaller/kickstart-tests/pull/693
This should be fixed in the next anaconda rawhide / f37 build. We've added inst.net.noautodefault option.