chore: Mount /dev/kvm volume with debugging
Some checks failed
build-image / Build image (push) Failing after 8m24s

This commit is contained in:
2025-07-26 21:45:42 +10:00
parent d31102a598
commit ae34850440

View File

@ -47,6 +47,8 @@ jobs:
name: Build image name: Build image
runs-on: ubuntu-latest runs-on: ubuntu-latest
# needs: semrel_dryrun # needs: semrel_dryrun
volumes:
- /dev/kvm:/dev/kvm
steps: steps:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -97,8 +99,12 @@ jobs:
libvirtd -d libvirtd -d
ps aux | grep libvirtd ls -l /dev/kvm
ls -l /var/run/libvirt/libvirt-sock groups
kvm-ok || cat /proc/cpuinfo | grep -E 'vmx|svm'
qemu-system-x86_64 -enable-kvm --version
virt-install \ virt-install \
--name ubuntu-harvester \ --name ubuntu-harvester \
@ -106,7 +112,7 @@ jobs:
--vcpus 2 \ --vcpus 2 \
--disk path=ubuntu-vm/ubuntu.qcow2,size=10,format=qcow2 \ --disk path=ubuntu-vm/ubuntu.qcow2,size=10,format=qcow2 \
--disk path=ubuntu-vm/seed.iso,device=cdrom \ --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 \ --os-variant ubuntu24.04 \
--graphics none \ --graphics none \
--network network=default \ --network network=default \