One of the main reasons to have custom runners it so we can run KVM
tests. Enable the "kvm" additional group so we can access the feature
on the kernel.

Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
Reported-by: Peter Maydell <peter.mayd...@linaro.org>
---
 scripts/ci/setup/gitlab-runner.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/ci/setup/gitlab-runner.yml 
b/scripts/ci/setup/gitlab-runner.yml
index 1a1b270ff2..7bdafab511 100644
--- a/scripts/ci/setup/gitlab-runner.yml
+++ b/scripts/ci/setup/gitlab-runner.yml
@@ -26,6 +26,7 @@
       user:
         user: gitlab-runner
         group: gitlab-runner
+        groups: kvm
         comment: GitLab Runner
         home: /home/gitlab-runner
         shell: /bin/bash
-- 
2.39.2


Reply via email to