From 3e90bcacdbb708c5ca467f38d33a0c909822f52f Mon Sep 17 00:00:00 2001 From: j Date: Mon, 25 Sep 2017 17:19:12 +0200 Subject: [PATCH] define lxd.pool in nova.conf based on lxd_storage_pool --- templates/nova.conf.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/nova.conf.j2 b/templates/nova.conf.j2 index b71f3be..77af8c2 100644 --- a/templates/nova.conf.j2 +++ b/templates/nova.conf.j2 @@ -276,6 +276,12 @@ hw_disk_discard = {{ nova_libvirt_hw_disk_discard }} disk_cachemodes = {{ nova_libvirt_disk_cachemodes }} {% endif %} +{% if nova_virt_type == 'lxd' and lxd_storage_pool %} +[lxd] +pool= {{ lxd_storage_pool }} +{% endif %} + + {% if nova_barbican_enabled %} [barbican] auth_endpoint = {{ keystone_service_internaluri }}/v3 -- 2.14.1