Skip to content

bootc-host-setup: Add RHEL 10 support - #60

Draft
cgwalters-bot wants to merge 2 commits into
bootc-dev:mainfrom
cgwalters-bot:bootc-host-setup-rhel10
Draft

cgwalters-bot wants to merge 2 commits into
bootc-dev:mainfrom
cgwalters-bot:bootc-host-setup-rhel10

Conversation

@cgwalters-bot

@cgwalters-bot cgwalters-bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Motivation

Provide the reusable host setup required to move bootc CI from Ubuntu to the stock GitHub-hosted RHEL 10 partner runner without breaking existing Ubuntu consumers.

Design

bootc-host-setup orchestrates small action-local scripts and declarative Ubuntu/RHEL base and libvirt package lists. It explicitly recognizes Ubuntu 24.04/26.04 and RHEL 10, preserves Ubuntu cleanup, QEMU/OVMF, KVM, and AppArmor handling, and retains bootc-ubuntu-setup as a deprecated compatibility entry point.

RHEL uses distribution Rust/Cargo, first attempts just from the enabled package/EPEL repositories, then uses the checksum-verified Renovate-managed release fallback until the partner image has current EPEL content. The narrowly scoped OpenSSH crypto-policy repair only changes the expected crypto-policies-owned symlink target after the known ssh -G diagnostic, and keeps SELinux enforcing. The RHEL libvirt list includes the storage-core driver so virtstoraged supports bcvk session storage.

Validation

  • bash -n bootc-host-setup/ci/*.sh test/bootc-host-setup.sh
  • shellcheck bootc-host-setup/ci/*.sh test/bootc-host-setup.sh
  • bash test/bootc-host-setup.sh
  • actionlint -config-file .github/actionlint.yaml .github/workflows/*.yml
  • YAML parse with PyYAML
  • git diff --check origin/main...HEAD
  • Interactive TMT validation of RHEL libvirt storage prerequisites
  • Live GitHub Actions checks on Ubuntu 24.04/26.04, the deprecated compatibility wrapper, script logic, virtualization smoke tests, and stock RHEL 10

No bootc PR was modified.

AI disclosure

Assisted-by: AI

The shell test and action changes were AI-assisted and validated with the commands above. Human review is still required; commits intentionally have no Signed-off-by trailers.

Provide the shared prerequisite for moving bootc CI to stock RHEL 10 while retaining the Ubuntu runner behavior already relied upon by callers.  Keep the old entry point as a deprecated compatibility layer so downstream callers can migrate independently.

Assisted-by: AI
Exercise the distro-aware entry point in this repository so its supported Ubuntu behavior remains covered while consumers migrate from the deprecated name.

Assisted-by: AI
@cgwalters-bot
cgwalters-bot force-pushed the bootc-host-setup-rhel10 branch from 75bed78 to 067abe6 Compare September 18, 2026 09:52
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.

2 participants