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.conf9
1 files changed, 5 insertions, 4 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 305d408b..a46c6b8d 100644
--- a/deploy/adapters/ansible/roles/nova-compute/templates/nova-compute.conf
+++ b/deploy/adapters/ansible/roles/nova-compute/templates/nova-compute.conf
@@ -1,11 +1,12 @@
[DEFAULT]
-compute_driver=libvirt.LibvirtDriver
+compute_driver = libvirt.LibvirtDriver
force_raw_images = true
[libvirt]
+cpu_mode = none
{% if kvm_cpu_num.stdout_lines[0]|int == 0 %}
-virt_type=qemu
+virt_type = qemu
{% else %}
-virt_type=kvm
+virt_type = kvm
{% endif %}
images_type = raw
-mem_stats_period_seconds=0
+mem_stats_period_seconds = 0