]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
ci: only bind /dev/kvm into the container
authorHarald Hoyer <harald@redhat.com>
Wed, 10 Feb 2021 12:11:04 +0000 (13:11 +0100)
committerHarald Hoyer <harald@hoyer.xyz>
Wed, 10 Feb 2021 12:56:40 +0000 (13:56 +0100)
dracut is only interested to use `/dev/kvm` if available.

.github/workflows/fedora-32.yml
.github/workflows/fedora-33.yml
.github/workflows/fedora-latest.yml

index 85deab4cdd5186165ff3ae2586cbfa68209f1fb6..dd1000e4219a789111c6f18822c21ea457d23a3b 100644 (file)
@@ -12,7 +12,7 @@ jobs:
     runs-on: ubuntu-latest
     container:
       image: quay.io/haraldh/dracut-fedora:32
-      options: "-v /dev:/dev"
+      options: "-v /dev/kvm:/dev/kvm"
     timeout-minutes: 45
     strategy:
       matrix:
index 93465614369732c55a27c173a23de77f69e54d56..5846cb2a69725244d4a3682496324eb3b75987d9 100644 (file)
@@ -13,7 +13,7 @@ jobs:
     runs-on: ubuntu-latest
     container:
       image: quay.io/haraldh/dracut-fedora:33
-      options: "-v /dev:/dev"
+      options: "-v /dev/kvm:/dev/kvm"
     timeout-minutes: 45
     strategy:
       matrix:
index 18a28a0a73fd58c4cb01cc2903a98359f1e50889..8a40d0cda2ce1d829c98f7b650151d7d33ecfe4f 100644 (file)
@@ -12,7 +12,7 @@ jobs:
     runs-on: ubuntu-latest
     container:
       image: quay.io/haraldh/dracut-fedora:latest
-      options: "-v /dev:/dev"
+      options: "-v /dev/kvm:/dev/kvm"
     timeout-minutes: 45
     strategy:
       matrix: