diff options
author | Justin chi <chigang@huawei.com> | 2015-10-12 05:32:17 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2015-10-12 05:32:17 +0000 |
commit | 2cbacbc060805b446769def612253798f3b7fb03 (patch) | |
tree | 1619e8bde3ff9f988b7f7a7bd9ce7a8a5f2cf867 /deploy/adapters/ansible/roles | |
parent | d27248783e7f49f4edb3a584ffd06c56c61b32c5 (diff) | |
parent | 80c770bb093ad2af54171de1a2c4630536d4daf0 (diff) |
Merge "bugfix: libvirt_type should be kvm when host is barebetal mode"
Diffstat (limited to 'deploy/adapters/ansible/roles')
-rw-r--r-- | deploy/adapters/ansible/roles/nova-compute/templates/nova-compute.conf | 4 |
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 |