summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/nova-compute/templates/nova-compute.conf
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/ansible/roles/nova-compute/templates/nova-compute.conf')
-rw-r--r--deploy/adapters/ansible/roles/nova-compute/templates/nova-compute.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/nova-compute/templates/nova-compute.conf b/deploy/adapters/ansible/roles/nova-compute/templates/nova-compute.conf
index 1ac775b1..305d408b 100644
--- a/deploy/adapters/ansible/roles/nova-compute/templates/nova-compute.conf
+++ b/deploy/adapters/ansible/roles/nova-compute/templates/nova-compute.conf
@@ -2,7 +2,7 @@
compute_driver=libvirt.LibvirtDriver
force_raw_images = true
[libvirt]
-{% if deploy_type == 'virtual' %}
+{% if kvm_cpu_num.stdout_lines[0]|int == 0 %}
virt_type=qemu
{% else %}
virt_type=kvm