a16d78711f
Nova allows customisation of various metadata passed through to VMs via a 'release' file[0]. Allow operators to make use of this. [0] https://github.com/openstack/nova/blob/master/etc/nova/release.sample Change-Id: I71569314c8e64320f8ffad79b9273f4d6d903bb6
49 lines
1.5 KiB
Django/Jinja
49 lines
1.5 KiB
Django/Jinja
{
|
|
"command": "nova-compute",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/nova.conf",
|
|
"dest": "/etc/nova/nova.conf",
|
|
"owner": "nova",
|
|
"perm": "0600"
|
|
}{% if nova_policy_file is defined %},
|
|
{
|
|
"source": "{{ container_config_directory }}/{{ nova_policy_file }}",
|
|
"dest": "/etc/nova/{{ nova_policy_file }}",
|
|
"owner": "nova",
|
|
"perm": "0600"
|
|
}{% endif %}{% if nova_backend == "rbd" %},
|
|
{
|
|
"source": "{{ container_config_directory }}/ceph.*",
|
|
"dest": "/etc/ceph/",
|
|
"owner": "nova",
|
|
"perm": "0700"
|
|
}{% endif %}{% if nova_compute_virt_type == "vmware" and not vmware_vcenter_insecure | bool %},
|
|
{
|
|
"source": "{{ container_config_directory }}/vmware_ca",
|
|
"dest": "/etc/nova/vmware_ca",
|
|
"owner": "nova",
|
|
"perm": "0600"
|
|
}{% endif %},
|
|
{
|
|
"source": "{{ container_config_directory }}/release",
|
|
"dest": "/etc/nova/release",
|
|
"owner": "nova",
|
|
"perm": "0600",
|
|
"optional": true
|
|
}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/nova",
|
|
"owner": "nova:nova",
|
|
"recurse": true
|
|
},
|
|
{
|
|
"path": "/var/lib/nova",
|
|
"owner": "nova:nova",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|