Skip to content

Commit e20b7c8

Browse files
fwieselprobe
authored andcommitted
ci: make /dev/kvm accessible on the 26.04 runners
The libvirt qemu user must reach /dev/kvm for the hypervisor VMs, and the 26.04 runner images ship the device without access for it.
1 parent 13334b0 commit e20b7c8

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • .github/actions/test/integration/dependencies

‎.github/actions/test/integration/dependencies/action.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ runs:
2626
echo 'security_driver = "none"' | sudo tee -a /etc/libvirt/qemu.conf
2727
sudo systemctl restart libvirtd
2828
29+
# The libvirt qemu user must reach /dev/kvm for the hypervisor VMs.
30+
- name: Make /dev/kvm accessible
31+
shell: bash
32+
run: |
33+
if [ -e /dev/kvm ]; then sudo chmod 666 /dev/kvm; fi
34+
2935
- name: oras
3036
uses: oras-project/setup-oras@1d808f7d7f6995cc68b7bf507bfe5c5446e1dc9d # v2
3137
with:

0 commit comments

Comments
 (0)