Add support for ignition to cidata, for CoreOS#2139
Closed
afbjorklund wants to merge 9 commits into
Closed
Conversation
Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
CoreOS doesn't use cloud-init like the rest of the world, but a custom system called ignition that requires compiling. A host program called "butane" converts the cidata yaml, to a host config file called config.ign (which is in json). Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
This doesn't actually start any services, but waiting for the nerdctl user to run `containerd-rootless-setuptool.sh install`. Alternatively to start up the installed system containerd.service, replacing the one from docker, and run `sudo nerdctl` with it. Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
It is only possible to lint the executed template, not the raw "yaml". But it is syntax-checked by butane --strict anyway, so is not needed. Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
This uses ignition and prefix, to support Flatcar Container Linux It is the continuation of the original CoreOS, before Fedora CoreOS Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.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.
Examples:
Requirements:
Squashed and rebased the old PRs, for re-evaluation.
Add example for Fedora CoreOS, running ignition not cloud-init #1653Add flatcar experimental example, another with coreos ignition #1657Needs testing, I have only updated the numbers and checksums but haven't verified if it actually works or not.
Running an immutable OS (for Lima) is still annoying, the scripts don't work and there are reboots all the time.
It runs Docker by default (enabled), and Podman on demand (disabled)
Note: CoreOS Container Linux is a common ancestor for both FCOS and Flatcar.