Skip to content
This repository has been archived by the owner on Mar 22, 2021. It is now read-only.

Commit

Permalink
testrunner: pass through /dev/kvm to containers
Browse files Browse the repository at this point in the history
For reasons I haven't dug in too much, `oci-kvm-hook` doesn't work on
F25 (though it does on F27). Howver, 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 22, 2018
1 parent 802dca3 commit bbae993
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 bbae993

Please sign in to comment.