diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8bcf1203..335d4b2c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,7 +33,14 @@ jobs: sudo apt-get -y update sudo apt-get -y install build-essential git xorriso qemu-system-x86 + - name: Enable KVM group perms + run: | + echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules + sudo udevadm control --reload-rules + sudo udevadm trigger --name-match=kvm + - name: Build ISOs + if: ${{ success() }} run: | cd build ./build-iso.sh --headless