Skip to content
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

Move conditional network startup from ignition-dracut #527

Merged
merged 2 commits into from Jul 22, 2020
Merged

Move conditional network startup from ignition-dracut #527

merged 2 commits into from Jul 22, 2020

Conversation

bgilbert
Copy link
Contributor

@bgilbert bgilbert commented Jul 22, 2020

The mechanism for starting network is too distro-specific to live in ignition-dracut. In addition, PXE rootfs fetch will need to invoke the same machinery. Add a unit with triggering conditions for the cases that need network, and use After=ignition-fetch-offline.service to force that service to run early enough.

Safe to merge before coreos/ignition-dracut#200 lands in the distro.

We're about to put non-firstboot things in there.
The mechanism for starting network is too distro-specific to live in
ignition-dracut.  In addition, PXE rootfs fetch will need to invoke the
same machinery.  Add a unit with triggering conditions for the cases
that need network, and use After=ignition-fetch-offline.service to force
that service to run early enough.
Copy link
Member

@jlebon jlebon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, makes sense to me!

@bgilbert bgilbert merged commit c1460e4 into coreos:testing-devel Jul 22, 2020
@bgilbert bgilbert deleted the condnet branch July 22, 2020 16:05
c4rt0 pushed a commit to c4rt0/fedora-coreos-config that referenced this pull request Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants