Commit 487405fd authored by Harald Sitter's avatar Harald Sitter 🏳🌈
Browse files

disable kvm when kvm_intel is not loaded

parent deef2f3a
......@@ -46,5 +46,8 @@ config = {
PRODUCTDIR: '/workspace/neon'
}
# Neon builders don't do KVM, disable it if the module is not loaded.
config[:QEMU_NO_KVM] = true unless system('lsmod | grep -q kvm_intel')
File.write('vars.json', JSON.generate(config))
system('../os-autoinst/isotovideo') || raise
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