Skip to content

Add support for injecting Ignition #228

Closed

Activity

  1. gursewak1997 commented on Mar 19, 2026

    @gursewak1997
    Collaborator

    I've implemented Ignition config injection following the FCOS docs and CoreOS Assembler patterns.

    What Works:

    • Architecture-specific handling:

      • x86_64/aarch64: fw_cfg at opt/com.coreos/config
      • s390x/ppc64le: virtio-blk with serial ignition, read-only
    • CLI: bcvk ephemeral run --ignition config.json <image>

    • Config successfully passed to guest (verified via /sys/firmware/qemu_fw_cfg/)

    Limitations Discovered:

    1. Requires Ignition pre-installed

      • Only works with CoreOS-based images (FCOS, RHCOS, etc.)
      • Regular Fedora bootc images do not include Ignition
      • Installing Ignition at runtime is not feasible (requires initramfs changes)
    2. FCOS first-boot behavior

      • Standard FCOS images have already “booted” during build
      • Ignition does not run on subsequent boots (expected behavior)
      • Works only for true first-boot scenarios (e.g., install to disk, then boot)

    Questions:

    • Is this expected behavior (limited to CoreOS-family images)?
    • Should we warn when --ignition is used with images that do not include Ignition?
    • Should we document the first-boot limitation, or is that assumed knowledge? Do we want to change how we handle this?
  2. cgwalters commented on Mar 20, 2026

    @cgwalters
    MemberAuthor

    Installing Ignition at runtime is not feasible (requires initramfs changes)

    At runtime no but at build time sure, though we don't document ignition specifically we do have https://docs.fedoraproject.org/en-US/bootc/initramfs/

    Should we warn when --ignition is used with images that do not include Ignition?

    It is kind of tempting to add a container label like LABEL coreos.ignition = 1 then we could easily detect this and error out.

    Should we document the first-boot limitation, or is that assumed knowledge?

    It is assumed knowledge I think, we should just defer to the coreos docs.

  3. travier commented on Mar 30, 2026

    @travier

    This is likely fixed by #232 (was not mentioned in the PR main comment).

  4. gursewak1997 commented on Mar 30, 2026

    @gursewak1997
    Collaborator

    This is likely fixed by #232 (was not mentioned in the PR main comment).

    I didn't close this issue since I still need to add ignition support to libvirt, in addition to the ephemeral support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions