Stock ignition configuration#528
Draft
davidcassany wants to merge 8 commits into
Draft
Conversation
This commit is a small refactor of the bootloader interface to define a InstallCtx struct to include the parameters required for the bootloader installation. This is mostly to improve code readability and to make it simpler to understand the purpose of each parameter. Signed-off-by: David Cassany <dcassany@suse.com>
…ruct Signed-off-by: David Cassany <dcassany@suse.com>
Signed-off-by: David Cassany <dcassany@suse.com>
Signed-off-by: David Cassany <dcassany@suse.com>
Signed-off-by: David Cassany <dcassany@suse.com>
davidcassany
marked this pull request as draft
July 13, 2026 10:18
Contributor
Author
If the new flag is passed the ignition configuration is added as base configuration as part of an initrd extension. This allows adding user configuration that gets merged at runtime. Configuration which could be provided by the platform (e.g. public cloud). Signed-off-by: David Cassany <dcassany@suse.com>
Signed-off-by: David Cassany <dcassany@suse.com>
davidcassany
force-pushed
the
stock_ignition_configuration
branch
from
July 13, 2026 15:59
c14ac1d to
246990a
Compare
Use 'ignition' label only if there is the user ignition configuration included. Otherwise it uses the 'CATALYST' label. This allows to attacth an additional 'ignition' device at boot time to provide user Ignition configuration. Signed-off-by: David Cassany <dcassany@suse.com>
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.
This PR adds the
--base-configflag inelemental3 customize. If the flag is present Elemental will generate the Ignition configuration in an initrd CPIO file which can be used as an initrd extension. With this option the ignition configuration will be seen as base configuration from Ignition's PoV and allow to merge on top additional user configuration. Moreover, the configuration partition, if any at all, will be labeled withCATALYSTinstead ofignitionif no<mnt>/ignition/config.ignfile is present, which is the case if--base-configis in use.This is handy in scenarios where the user configuration is provided by the platform instead of being embedded within the image itself. Consider cases such as deploying in cloud providers.