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 Ignition-Dracut into Ignition #1039
Conversation
Copy Ignition base/user configs from OEM to Ignition system dir
The "After=disk-uuid.service" in ignition-setup.service doesn't actually work because disk-uuid.service is templated. Instead, disk-uuid@.service should sequence itself Before units that access device nodes. Sequence disk-uuid@ Before ignition-setup, and remove "After=disk-uuid.service" from Ignition units.
dracut: correctly sequence disk-uuid@ before ignition-setup
The kernel will automatically bond it to the synthetic interface, so ensure networkd doesn't try to configure it separately.
dracut: ignore Azure SR-IOV VF interface
automated PR: update CoC and legalese
The current invocation is broken (should be $env{DEVLINKS}) and pointless, so drop it. The last arguments to the `mdadm --incremental` command are just aliases that can be used in /etc/mdadm.conf (see the "INCREMENTAL MODE" section of man 8 mdadm). We don't use /etc/mdadm.conf in the initramfs, so just drop it.
99start-root: drop DEVLINKS from mdadm invocation
Fixed upstream in systemd/systemd@e1c42e1.
dracut: drop obsolete comment
This reverts commit 61f8967.
Alter ignition-generator to only run ignition when coreos.first_boot is present on the command line, add a base Ignition config that removes coreos.first_boot from the grub config, add coreos.first_boot to the grub config in the instructions in README.txt
Also reformat ignition-quench.ign to be more readable
Only run on first boot, enable the disks stage
README: Note instructions are for classic systems
Added a few binaries and also a few modules.
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.
Overall big +1 on the idea! |
The CI failure on this is expected since Local test:
|
This roughly looks good to me! Some things that popped out:
|
I think that we can coordinate this with @bgilbert's proposed changes easily.
Ah, good catch. I did that in my first experiment but after an unreconcilable rebase I re-did it and missed it. Repushed. |
Move conditional network startup out of ignition-dracut
dcfabba
to
1d4053b
Compare
With coreos/fedora-coreos-config#526 the packaging repo [1] and build [2] this passes Kola. All tests passed. Ready for review. |
The CoreOS specific modules have been moved to https://github.com/coreos/fedora-coreos-config.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
dracut: remove CoreOS specific bits from Dracut
CoreOS specific modules have been will be moved over https://github.com/coreos/fedora-coreos-config.
The approach came from coreos/fedora-coreos-tracker#511