mirror of
https://github.com/coreos/ignition-dracut.git
synced 2026-02-05 06:45:36 +01:00
ignition-check-neednet.sh knows too much about distro-level networking configuration. In addition, other things in the initramfs might want to conditionally enable networking, and they'd currently need to reimplement ignition-check-neednet.sh to do so. Instead, let the distro provide its own unit that checks for /run/ignition/neednet. That unit can use dependencies to sequence ignition-fetch-offline.service correctly for its own needs.