Enable iSCSI netroot devices on Flatcar#22
Merged
margamanterola merged 2 commits intoflatcar-masterfrom Apr 7, 2021
Merged
Conversation
added 2 commits
March 30, 2021 13:14
This change is based on the CoreOS support for Oracle OCI bare metal machines, that was removed in 2018 with deba073. It's been adapted to modern systemd versions (using KeepConfiguration instead of CriticalConnection) and it works for any netroot, not just Oracle, as we never want to tear down the network if we're using a netroot, otherwise the root goes away when systemd does the switch-root operation.
dongsupark
approved these changes
Apr 1, 2021
margamanterola
pushed a commit
to flatcar-archive/coreos-overlay
that referenced
this pull request
Apr 7, 2021
This change pulls in the latest bootengine version, that enables ISCSI support in dracut and avoids tearing down the network when using netroot See flatcar/bootengine#22 for more information.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enable iSCSI netroot devices on Flatcar
This change enables the iSCSI module on dracut and changes the network behavior when Flatcar boots, to avoid bringing down the network when doing the switch-root operation.
This change is based on the CoreOS support for Oracle OCI bare metal machines, that was removed in 2018 with deba073.
Testing done
I've run CI with this change and it passed. I've also used the created image to mount a successfully mount an iSCSI netroot device and boot into the corresponding Flatcar instance.