|
| 1 | +--- |
| 2 | +# Overcloud host disk image configuration. |
| 3 | + |
| 4 | +############################################################################### |
| 5 | +# Diskimage-builder configuration for overcloud host disk images. |
| 6 | + |
| 7 | +# Whether to build host disk images with DIB directly instead of through |
| 8 | +# Bifrost. Setting it to true disables Bifrost image build and allows images to |
| 9 | +# be built with the `kayobe overcloud host image build` command. Default value |
| 10 | +# is False. This will change in a future release. |
| 11 | +overcloud_dib_build_host_images: False |
| 12 | + |
| 13 | +# DIB base OS element. Default is {{ os_distribution }}. |
| 14 | +overcloud_dib_os_element: "{{ os_distribution }}" |
| 15 | + |
| 16 | +# DIB image OS release. Default is {{ os_release }}. |
| 17 | +overcloud_dib_os_release: "{{ os_release }}" |
| 18 | + |
| 19 | +# List of default DIB elements. Default is ["centos", "cloud-init-datasources", |
| 20 | +# "disable-selinux", "enable-serial-console", "vm"] when |
| 21 | +# overcloud_dib_os_element is "centos", or ["ubuntu", "cloud-init-datasources", |
| 22 | +# "enable-serial-console", "vm"] when overcloud_dib_os_element is "ubuntu". |
| 23 | +overcloud_dib_elements_default: |
| 24 | + - "{{ overcloud_dib_os_element }}" |
| 25 | + - "cloud-init-datasources" |
| 26 | + - "{% if overcloud_dib_os_element == 'centos' %}disable-selinux{% endif %}" |
| 27 | + - "enable-serial-console" |
| 28 | + - "vm" |
| 29 | + |
| 30 | +# List of additional DIB elements. Default is none. |
| 31 | +overcloud_dib_elements_extra: [] |
| 32 | + |
| 33 | +# List of DIB elements. Default is a combination of |
| 34 | +# overcloud_dib_elements_default and overcloud_dib_elements_extra. |
| 35 | +overcloud_dib_elements: "{{ overcloud_dib_elements_default | select | list + overcloud_dib_elements_extra }}" |
| 36 | + |
| 37 | +# DIB default environment variables. Default is |
| 38 | +# {"DIB_BOOTLOADER_DEFAULT_CMDLINE": "nofb nomodeset gfxpayload=text |
| 39 | +# net.ifnames=1", "DIB_CLOUD_INIT_DATASOURCES": "ConfigDrive", "DIB_RELEASE": |
| 40 | +# "{{ overcloud_dib_os_release }}"}. |
| 41 | +overcloud_dib_env_vars_default: |
| 42 | + DIB_BOOTLOADER_DEFAULT_CMDLINE: "nofb nomodeset gfxpayload=text net.ifnames=1" |
| 43 | + DIB_CLOUD_INIT_DATASOURCES: "ConfigDrive" |
| 44 | + DIB_RELEASE: "{{ overcloud_dib_os_release }}" |
| 45 | + |
| 46 | +# DIB additional environment variables. Default is none. |
| 47 | +overcloud_dib_env_vars_extra: {} |
| 48 | + |
| 49 | +# DIB environment variables. Default is combination of |
| 50 | +# overcloud_dib_env_vars_default and overcloud_dib_env_vars_extra. |
| 51 | +overcloud_dib_env_vars: "{{ overcloud_dib_env_vars_default | combine(overcloud_dib_env_vars_extra) }}" |
| 52 | + |
| 53 | +# List of DIB packages to install. Default is to install no extra packages. |
| 54 | +overcloud_dib_packages: [] |
0 commit comments