coreos / fedora-coreos-tracker

Issue tracker for Fedora CoreOS
https://fedoraproject.org/coreos/
262 stars 59 forks source link

Support firstboot networking configuration in `/etc/coreos-firstboot-network` #841

Closed dustymabe closed 2 years ago

dustymabe commented 3 years ago

Right now we support embedding networking configuration into /boot/coreos-firstboot-network and having that take effect in the initrd; done to support coreos-installer install --copy-network. This works for cases where you have a /boot/ partition and can leverage it, but doesn't for cases like the Live ISO or Live PXE (though probably less needed for PXE since you probably have DHCP there).

If we additionally supported /etc/coreos-firstboot-network then users could layer in files into the ISO initrd and have them applied in the same way as the /boot/coreos-firstboot-network does today.

This additional functionality might help people who are trying to build on top of the work that we're doing with special use cases in mind. BZ#1959961 is the inspiration here.

lucab commented 3 years ago

Aside, for all those cases we probably need a mechanism to tell 1) afterburn not to inject the default ip=dhcp,dhcp6 argument, and 2) nm-initrd-generator to short-circuit and skip kargs parsing, as the NM configuration is being deliberately provided through a side channel. Some kargs marker like ip=external could work for that, I guess.

dustymabe commented 2 years ago

The fix for this went into testing stream release 35.20211215.2.0. Please try out the new release and report issues.

dustymabe commented 2 years ago

The fix for this went into stable stream release 35.20211215.3.0.