Skip to content

Conversation

@jefc1111
Copy link

@jefc1111 jefc1111 commented Sep 3, 2025

Description

This PR allows container startup when KVM is not available.

Previously, the build would fail if /dev/kvm was missing or if --group-add was passed without a corresponding kvm group.

This change checks for KVM availability. If it’s not present, the container starts without --group-add and --user, allowing the build to fall back to host execution.

Testing Notes

With KVM available: Verify that builds still succeed, and --group-add & --user options are applied.

Without KVM: Verified that builds proceed without KVM, falling back gracefully without requiring User-Mode Linux.

Check that the VM images are generated successfully in both scenarios.

Housekeeping

Renames PODMAN var to CONTAINER_ENGINE.

@nat-yaml nat-yaml requested a review from a team as a code owner November 26, 2025 03:24
@nat-yaml nat-yaml requested a review from 404Yeti November 26, 2025 03:24
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