Skip to content
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

Add support for ignition to cidata, for CoreOS #2139

Closed
wants to merge 9 commits into from

Conversation

afbjorklund
Copy link
Member

@afbjorklund afbjorklund commented Jan 15, 2024

Examples:

  • Fedora CoreOS
  • Flatcar Container Linux
  • openSUSE Tumbleweed MicroOS

Requirements:

Squashed and rebased the old PRs, for re-evaluation.


Needs 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.

limactl start template://experimental/fedora-coreos

It runs Docker by default (enabled), and Podman on demand (disabled)

Note: CoreOS Container Linux is a common ancestor for both FCOS and Flatcar.

Signed-off-by: Anders F Björklund <[email protected]>
Signed-off-by: Anders F Björklund <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
Signed-off-by: Anders F Björklund <[email protected]>
Signed-off-by: Anders F Björklund <[email protected]>
Signed-off-by: Anders F Björklund <[email protected]>
@afbjorklund afbjorklund changed the title Add support for ignition to cidata Add support for ignition to cidata, for CoreOS Jan 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant