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
runs-on: ubuntu-latest
# needs: semrel_dryrun
volumes:
- /dev/kvm:/dev/kvm
steps:
- name: Check out repository code
uses: actions/checkout@v4
@ -97,8 +99,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 +112,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 \