diff options
author | 2016-10-27 06:17:50 +0800 | |
---|---|---|
committer | 2016-10-27 06:18:46 +0800 | |
commit | 5ac0350135d59f143b91115170b5690631e3f448 (patch) | |
tree | b272d882be516836a45cb8b31f7da5d8372e080e /deploy/adapters/ansible/openstack_osp9/roles/nova-compute/templates/nova-compute.conf | |
parent | dde596264dadaa3e530adc4e30f9205edfaff3ba (diff) |
add osp9 roles
Change-Id: Ie0085f718c2c737ae32c8abf97fd8c0408360acb
Signed-off-by: QiLiang <liangqi1@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/openstack_osp9/roles/nova-compute/templates/nova-compute.conf')
-rwxr-xr-x | deploy/adapters/ansible/openstack_osp9/roles/nova-compute/templates/nova-compute.conf | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/openstack_osp9/roles/nova-compute/templates/nova-compute.conf b/deploy/adapters/ansible/openstack_osp9/roles/nova-compute/templates/nova-compute.conf new file mode 100755 index 00000000..305d408b --- /dev/null +++ b/deploy/adapters/ansible/openstack_osp9/roles/nova-compute/templates/nova-compute.conf @@ -0,0 +1,11 @@ +[DEFAULT] +compute_driver=libvirt.LibvirtDriver +force_raw_images = true +[libvirt] +{% if kvm_cpu_num.stdout_lines[0]|int == 0 %} +virt_type=qemu +{% else %} +virt_type=kvm +{% endif %} +images_type = raw +mem_stats_period_seconds=0 |