Skip to content

Commit

Permalink
Switches runner to ubuntu-latest and try to enable KVM
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkratz committed Mar 4, 2024
1 parent cd987f4 commit e8e210d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/vagrant-up.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ on:

jobs:
vagrant-provision:
# Running on self-hosted system(s), because GitHub-hosted action runners did break too often.
# https://github.com/actions/runner-images/issues/433
runs-on:
group: Default
labels: [self-hosted, Linux, X64]
runs-on: ubuntu-latest
steps:
- 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: clean up old VMs
run: |
vboxmanage list vms | \
Expand Down

0 comments on commit e8e210d

Please sign in to comment.