Skip to content

Commit 40c6a90

Browse files
martinpittallisonkarlitskaya
authored andcommitted
tasks: Drop /dev/kvm from cockpit-tasks containers
With the run-queue fix [1] landed, we don't need this as indicator for "capable of running tests" any more. cockpit-project/bots#6080
1 parent 9ca717a commit 40c6a90

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tasks/install-service

-2
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ ExecStartPre=-/usr/bin/podman rm -f cockpit-tasks-%i
4747
ExecStartPre=/usr/bin/chcon -R -l s0 ${CACHE}/images/
4848
ExecStartPre=/usr/bin/flock /tmp/cockpit-image-pull podman pull quay.io/cockpit/tasks
4949
# job-runner doesn't need /images, but we still need it for the run-queue store-tests task
50-
# FIXME: /dev/kvm should be dropped, but fix bots run-queue for that (indication of whether to run kvm tasks)
5150
ExecStart=/usr/bin/podman run --name=cockpit-tasks-%i --hostname=${CONTAINER_HOSTNAME} \
52-
--device=/dev/kvm \
5351
--volume=${CACHE}/images:/cache/images:rw \
5452
--volume=${SECRETS}/tasks:/run/secrets/tasks:ro \
5553
--volume=${SECRETS}/webhook:/run/secrets/webhook:ro \

0 commit comments

Comments
 (0)