Add support for Bifrost dib_os_release

There is a Bifrost bug that causes this variable to be required
This commit is contained in:
Mark Goddard 2017-02-17 17:55:26 +00:00
parent aad71bcd25
commit e9afc5fe24
4 changed files with 13 additions and 1 deletions

View File

@ -7,6 +7,9 @@
# DIB base OS element.
kolla_bifrost_dib_os_element: "centos7"
# DIB image OS release.
kolla_bifrost_dib_os_release: "GenericCloud"
# List of DIB elements.
kolla_bifrost_dib_elements:
- "serial-console"

View File

@ -5,6 +5,9 @@ kolla_node_custom_config_path:
# DIB image OS element.
kolla_bifrost_dib_os_element:
# DIB image OS release.
kolla_bifrost_dib_os_release:
# List of DIB image elements.
kolla_bifrost_dib_elements: []

View File

@ -2,11 +2,14 @@
# Diskimage-builder element for base OS.
dib_os_element: "{{ kolla_bifrost_dib_os_element }}"
# DIB OS release.
dib_os_release: "{{ kolla_bifrost_dib_os_release }}"
# List of DIB image elements.
dib_elements: "{{ (kolla_bifrost_dib_elements + [kolla_bifrost_dib_init_element]) | join(' ') }}"
# DIB image environment variables.
dib_env_vars: "{{ kolla_bifrost_dib_env_vars }}"
{{ {'dib_env_vars': kolla_bifrost_dib_env_vars} | to_nice_yaml }}
# List of DIB image packages.
dib_packages: "{{ kolla_bifrost_dib_packages | join(',') }}"

View File

@ -7,6 +7,9 @@
# DIB base OS element.
#kolla_bifrost_dib_os_element:
# DIB image OS release.
#kolla_bifrost_dib_os_release:
# List of DIB elements.
#kolla_bifrost_dib_elements: