Commit 360d39dc authored by Harald Sitter's avatar Harald Sitter 🏳🌈
Browse files

try only exposing kvm device

parent 09b31474
......@@ -30,6 +30,6 @@ PWD_BIND = ENV.fetch('PWD_BIND', '/workspace')
c = CI::Containment.new(JOB_NAME,
image: CI::PangeaImage.new(:ubuntu, DIST),
binds: ["#{Dir.pwd}:#{PWD_BIND}"],
privileged: true)
status_code = c.run(Cmd: ARGV, WorkingDir: PWD_BIND)
privileged: false)
status_code = c.run(Cmd: ARGV, WorkingDir: PWD_BIND, Devices: %w(/dev/kvm))
exit status_code
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment