Skip to content

Commit

Permalink
testrunner: pass through /dev/kvm to containers
Browse files Browse the repository at this point in the history
For reasons I can't quite figure out, `oci-kvm-hook` doesn't work on F25
(though it does on F27). The nodes are currently stuck at F25 because of
severe issues with `docker cp` in newer version (rhbz#1489505). So let's
just explicitly pass /dev/kvm into the container, which is all
`oci-kvm-hook` is trying to do anyway. I've verified this works.

This will unblock ostreedev/ostree#1462.
  • Loading branch information
jlebon committed Feb 23, 2018
1 parent 802dca3 commit 9fbdf13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions papr/testrunner
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ provision_container() {
fi

sudo docker run --name $name -d \
--device /dev/kvm \
--cidfile $state/cid \
"$image" sleep infinity

Expand Down

0 comments on commit 9fbdf13

Please sign in to comment.