Browse code

Add override variable for LIBVIRT_TYPE

Allow jobs to set LIBVIRT_TYPE, but retain the current default. This
is for testing nested virt.

Change-Id: Ife215db3f59f011574a50b0d1cbd5565a7408dfe

Ian Wienand authored on 2019/10/04 08:31:53
Showing 1 changed files
... ...
@@ -219,8 +219,8 @@
219 219
         VERBOSE_NO_TIMESTAMP: true
220 220
         NOVNC_FROM_PACKAGE: true
221 221
         ERROR_ON_CLONE: true
222
-        # Gate jobs can't deal with nested virt. Disable it.
223
-        LIBVIRT_TYPE: qemu
222
+        # Gate jobs can't deal with nested virt. Disable it by default.
223
+        LIBVIRT_TYPE: '{{ devstack_libvirt_type | default("qemu") }}'
224 224
       devstack_services:
225 225
         # Ignore any default set by devstack. Emit a "disable_all_services".
226 226
         base: false