diff --git a/etc/kayobe/kolla/config/nova/nova-compute.conf b/etc/kayobe/kolla/config/nova/nova-compute.conf index ebaf4fc..9d8bdeb 100644 --- a/etc/kayobe/kolla/config/nova/nova-compute.conf +++ b/etc/kayobe/kolla/config/nova/nova-compute.conf @@ -1,11 +1,11 @@ {% raw %} +{% if ansible_facts.os_family == 'RedHat' and nova_compute_virt_type == 'kvm' %} [libvirt] -# RHEL 9 and Ubuntu Jammy are being compiled for the x86_64-v2 +# RHEL 9 are being compiled for the x86_64-v2 # architecture which is newer than the qemu default of qemu64. # Nehalem is apparently the oldest model that works for x86_64-v2 # and is expected to work on Intel and AMD cpus with kvm or qemu. -{% if nova_compute_virt_type == 'kvm' %} -cpu_mode=custom -cpu_model=Nehalem +cpu_mode = custom +cpu_models = Nehalem {% endif %} {% endraw %}