contrib/ci: document kvm permissions configuration

This commit is contained in:
Martin Weinelt 2020-04-26 00:25:11 +02:00
parent aefb0b8c35
commit 42650393b6
No known key found for this signature in database
GPG Key ID: BD4AA0528F63F17E
1 changed files with 2 additions and 0 deletions

View File

@ -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" \