~brendan-donegan/checkbox/bug1085219

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
plugin: shell
name: virtualization/virtualization-check
requires: cpuinfo.platform in ("i386", "x86_64")
user: root
command: virt_check
_description:
 Test to check that virtualization is supported and the test system has at least a minimal amount of RAM to function as an OpenStack Compute Node

plugin: shell
name: virtualization/kvm_ok
requires: package.name == 'cpu-checker'
command: kvm-ok
_description:
 Test to determine if this system is capable of running hardware accelerated KVM virtual machines

plugin: shell
name: virtualization/kvm_check_vm
requires: 
 package.name == 'qemu-kvm'
 package.name == 'qemu-utils'
depends: virtualization/kvm_ok
command: kvm_test $CLOUD_IMAGE
_description:
 Test to check that a cloud image boots and works properly with KVM