summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/nova-compute/templates
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/ansible/roles/nova-compute/templates')
-rw-r--r--deploy/adapters/ansible/roles/nova-compute/templates/nova-compute.conf4
1 files changed, 4 insertions, 0 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 401dee79..1ac775b1 100644
--- a/deploy/adapters/ansible/roles/nova-compute/templates/nova-compute.conf
+++ b/deploy/adapters/ansible/roles/nova-compute/templates/nova-compute.conf
@@ -2,6 +2,10 @@
compute_driver=libvirt.LibvirtDriver
force_raw_images = true
[libvirt]
+{% if deploy_type == 'virtual' %}
virt_type=qemu
+{% else %}
+virt_type=kvm
+{% endif %}
images_type = raw
mem_stats_period_seconds=0