feat: Switch to flatpak virt manager

This commit is contained in:
Kyle Gospodnetich 2024-12-22 08:53:05 -08:00
parent a6c9c7537e
commit 3ec9da6e50
2 changed files with 4 additions and 1 deletions

View File

@ -464,6 +464,9 @@ RUN --mount=type=cache,dst=/var/cache/rpm-ostree \
yafti \
stress-ng \
btrfs-assistant \
edk2-ovmf \
qemu \
libvirt \
lsb_release && \
rpm-ostree install \
ublue-update && \

View File

@ -43,7 +43,7 @@ setup-virtualization ACTION="":
if [[ "${OPTION,,}" =~ (^enable[[:space:]]virtualization|virt-on) ]]; then
if ! rpm -q virt-manager | grep -P "^virt-manager-" 1>/dev/null; then
echo "Installing QEMU and virt-manager..."
rpm-ostree install -y virt-manager edk2-ovmf qemu libvirt
flatpak install flathub org.virt_manager.virt-manager
rpm-ostree kargs \
--append-if-missing="kvm.ignore_msrs=1" \
--append-if-missing="kvm.report_ignored_msrs=0"