Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

mnlipp/libvirt-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

The next step towards the final goal can be found here. The final solution, however, is the VM-Operator.

AlmaLinux 9.1 etc. and VMs with Spice

RedHat has decided to drop Spice from the packages shipped with RHEL. As discussed in various places (e.g. here), this is bad news for anybody who does serious work with VMs that run on RHEL 9.1 (in whatever flavour). Without support for cut & paste, performant access over the internet and USB redirection the VMs aren't usable any more for many use cases.

Nevertheless, there are good reasons why I want to stick to running a RHEL 9.1 based system on my server. So I need a solution.

One approach is to replace the libvirt/qemu packages with the Fedora packages on the server. This works. But with several hundred packages being replaced, I do have some concerns regarding the stability of my server.

Luckily, another approach has already been pioneered in the context of ProjectAtomic: run libvirt in a Container. I've taken this as a starting point and made some adaptions. I've put everything in directory fedora-based because it is a Fedora-based container for libvirt. In case RedHat drops Spice support from Fedora as well, it shouldn't be too difficult to create a sibling directory with e.g. an Arch based container for libvirt.

I have tested my approach with AlmaLinux 9.1, that's why you find it in the title. It should run on RHEL and Rocky Linux as well. Note that I'll dedicate only limited resources to project (basically keep it working for my use case). IMHO the way to go is a kubernetes operator that runs VMs without libvirt, because libvirt duplicates several mechanisms that k8s provides already. And considerng the number of packages required as dependencies of libvirt, it has grown too complex.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published