Support copying static Vendordata file into Nova API container
Nova provides a mechanism to set static vendordata via a file [1]. This patch provides support in Kolla Ansible for using this feature. Arguably this could be part of a generic mechansim for copying arbitrary config, but: - It's not clear if there is anything else that would take advantage of this - One size might not fit all [1] https://docs.openstack.org/nova/latest/configuration/config.html#api.vendordata_jsonfile_path Change-Id: Id420376d96d0c40415c369ae8dd36e845a781820
This commit is contained in:
@@ -41,6 +41,10 @@ track_instance_changes = False
|
||||
[api]
|
||||
use_forwarded_for = true
|
||||
|
||||
{% if vendordata_file_path is defined %}
|
||||
vendordata_jsonfile_path = /etc/nova/vendordata.json
|
||||
{% endif %}
|
||||
|
||||
# Super conductor
|
||||
[conductor]
|
||||
workers = {{ openstack_service_workers }}
|
||||
|
||||
Reference in New Issue
Block a user