From 450dfed1be68f8d4b6061c7d83bbaf4ef7ca2b60 Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Sat, 26 Jul 2025 21:30:31 +1000 Subject: [PATCH] chore: Debug libvirt permissions --- .gitea/workflows/actions.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml index f0a5ea3..288370d 100644 --- a/.gitea/workflows/actions.yaml +++ b/.gitea/workflows/actions.yaml @@ -97,8 +97,12 @@ jobs: libvirtd -d - ps aux | grep libvirtd - ls -l /var/run/libvirt/libvirt-sock + ls -l /dev/kvm + groups + + kvm-ok || cat /proc/cpuinfo | grep -E 'vmx|svm' + + qemu-system-x86_64 -enable-kvm --version virt-install \ --name ubuntu-harvester \ @@ -106,7 +110,7 @@ jobs: --vcpus 2 \ --disk path=ubuntu-vm/ubuntu.qcow2,size=10,format=qcow2 \ --disk path=ubuntu-vm/seed.iso,device=cdrom \ - --cdrom '/iso/Canonical/Ubuntu Server 24.04/ubuntu-24.04.2-desktop-amd64.iso' \ + --cdrom '/iso/Canonical/Ubuntu\ Server\ 24.04/ubuntu-24.04.2-desktop-amd64.iso' \ --os-variant ubuntu24.04 \ --graphics none \ --network network=default \