Skip to content

fix(kubevirt): UEFI ISOs, VNC pointer, and btrfs-only bootc images - #407

Merged
hanthor merged 1 commit into
mainfrom
fix/kubevirt-uefi-tablet-bootc-fs
Oct 4, 2026
Merged

hanthor merged 1 commit into
mainfrom
fix/kubevirt-uefi-tablet-bootc-fs

Conversation

@hanthor

@hanthor hanthor commented Oct 3, 2026 •

Copy link
Copy Markdown
Member

Found while booting Fedora Hummingbird-based Utah on the KubeVirt backend:

  • corral bootc create hard-coded --filesystem xfs for ostree images, so
    an image that ships btrfs-progs but no xfsprogs failed in the builder with
    "Creating rootfs: No such file or directory". Probe the image for
    mkfs.xfs and fall back to btrfs when only mkfs.btrfs is present.
  • --firmware uefi was honoured only by the QEMU paths; a KubeVirt ISO VM
    always booted SeaBIOS, so UEFI-only live ISOs had nothing to boot. Pass it
    through (opt-in, so existing catalog images keep their firmware).
  • KubeVirt VMs had only the default relative PS/2 mouse, so VNC clicks
    drifted and graphical installers could not be driven. Add a USB tablet.

Verified on the AWS KubeVirt cluster: corral bootc create of ghcr.io/projectbluefin/utah (a btrfs-only image) builds and boots with the patched builder. The UEFI and tablet parts were verified by applying the same fields this change generates (firmware.bootloader.efi.secureBoot: false, a USB tablet input) to an existing ISO VM with kubectl: the UEFI-only Utah live ISO then booted and VNC clicks landed where aimed. The patched corral create --firmware uefi path itself was not re-run end to end. go test ./pkg/kubevirt ./cmd passes; pkg/fleet TestList_EmptyLocalQemu fails identically on main in an environment with a KubeVirt context configured.

🤖 Generated with Claude Code

Found while booting Fedora Hummingbird-based Utah on the KubeVirt backend:

- `corral bootc create` hard-coded `--filesystem xfs` for ostree images, so
  an image that ships btrfs-progs but no xfsprogs failed in the builder with
  "Creating rootfs: No such file or directory". Probe the image for
  mkfs.xfs and fall back to btrfs when only mkfs.btrfs is present.
- `--firmware uefi` was honoured only by the QEMU paths; a KubeVirt ISO VM
  always booted SeaBIOS, so UEFI-only live ISOs had nothing to boot. Pass it
  through (opt-in, so existing catalog images keep their firmware).
- KubeVirt VMs had only the default relative PS/2 mouse, so VNC clicks
  drifted and graphical installers could not be driven. Add a USB tablet.

Assisted-by: Claude Opus 5.5 via Claude Code
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@hanthor
hanthor merged commit 0496bd7 into main Oct 4, 2026
10 checks passed
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