Skip to content

Commit

Permalink
mkosi: explicitly disable KVM in GHA runs
Browse files Browse the repository at this point in the history
mkosi detects whether /dev/kvm is available and uses it if it is. But
some GHA hosts have it, but it's broken and not supported, so we need
to explicitly disable it.
  • Loading branch information
bluca committed Nov 2, 2023
1 parent c57ff62 commit c13e6c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/mkosi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ jobs:
# Root device can take a long time to appear, so let's bump the timeout.
systemd.default_device_timeout_sec=180
QemuVsock=yes
# Sometimes we run on a host with /dev/kvm, but it is broken, so explicitly disable it
QemuKvm=no
Ephemeral=yes
EOF
Expand Down

0 comments on commit c13e6c7

Please sign in to comment.