Fix libvirt.sh install script for Ubuntu 26.04#3410
Open
ipspace wants to merge 1 commit into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the libvirt installation helper to select an available QEMU package at install time, improving compatibility across Debian/Ubuntu variants where qemu-kvm may not be present.
Changes:
- Introduce a
QEMU_PACKAGEvariable defaulting toqemu-kvm. - Switch to
qemu-system-x86when it appears to be available viaapt-cache search. - Use the selected QEMU package in the
apt-get installcommand for libvirt dependencies.
* Use available QEMU package * Pin vagrant to version 2.4.9-1 (otherwise the libvirt plugin does not compile)
1c92353 to
c9997b3
Compare
Owner
Author
|
@sdargoeuves @ssasso -- It would be great if you could check whether this works for you. The install script ran fine on Ubuntu 22.04 and 26.04, but my 26.04 VM ran out of disk space (a story for another day), so I couldn't run "netlab test libvirt". I also had to pin Vagrant to a higher version (2.9.4-1) or it wouldn't compile the libvirt plugin. I will upgrade Vagrant on my primary server (still on Ubuntu 22.04) to see whether it works reliably. |
ipspace
added a commit
that referenced
this pull request
May 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.