From 42650393b637d8f20a61e1986b0188ab96a5a24d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 26 Apr 2020 00:25:11 +0200 Subject: [PATCH] contrib/ci: document kvm permissions configuration --- contrib/ci/jenkins-community-slave/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/ci/jenkins-community-slave/README.md b/contrib/ci/jenkins-community-slave/README.md index b80ebfc5..0aecf97b 100644 --- a/contrib/ci/jenkins-community-slave/README.md +++ b/contrib/ci/jenkins-community-slave/README.md @@ -22,6 +22,8 @@ cd gluon/contrib/ci/jenkins-community-slave/ docker build -t gluon-jenkins . mkdir /var/cache/openwrt_dl_cache/ chown 1000:1000 /var/cache/openwrt_dl_cache +echo "z /dev/kvm 0666 - kvm -" > /etc/tmpfiles.d/kvm.conf +systemd-tmpfiles --create docker run --detach --restart always \ --env "SLAVE_NAME=whoareyou" \ --env "SLAVE_SECRET=changeme" \