taskotron-client: enable nested virt

This commit is contained in:
Martin Krizek 2017-03-13 06:57:58 +00:00
parent 4ce2a8e0ae
commit ee5b4c4842
2 changed files with 5 additions and 0 deletions

View file

@ -0,0 +1 @@
options kvm_intel nested=1

View file

@ -95,3 +95,7 @@
- name: hotfix libtaskotron to set longer timeout for testcloud, this should be temporary fix though :/
replace: dest=/usr/lib/python2.7/site-packages/libtaskotron/ext/disposable/vm.py regexp=', timeout=60\):' replace=', timeout=120):' backup=yes
when: deployment_type in ['dev', 'stg', 'prod']
- name: setup nested virt on virthosts with nested=true variable
copy: src=kvm_intel.conf dest=/etc/modprobe.d/kvm_intel.conf
when: nested == true