@@ -19,7 +19,8 @@ following option:
1919 Whether to build host disk images with DIB directly instead of through
2020 Bifrost. Setting it to true disables Bifrost image build and allows images
2121 to be built with the ``kayobe overcloud host image build `` command. Default
22- value is false. This will change in a future release.
22+ value is false, except on Rocky where it is true. This will change in a
23+ future release.
2324
2425With this option enabled, Bifrost will be configured to stop building a root
2526disk image. This will become the default behaviour in a future release.
@@ -35,7 +36,8 @@ information on building disk images.
3536
3637The default configuration builds a whole disk (partitioned) image using the
3738selected :ref: `OS distribution <os-distribution >` (CentOS Stream 8 by default)
38- with serial console enabled, and SELinux disabled if CentOS Stream is used.
39+ with serial console enabled, and SELinux disabled if CentOS Stream or Rocky
40+ Linux is used.
3941`Cloud-init <https://cloudinit.readthedocs.io/en/latest/ >`__ is used to process
4042the configuration drive built by Bifrost during provisioning.
4143
@@ -48,17 +50,19 @@ the configuration drive built by Bifrost during provisioning.
4850 "elements": "{{ overcloud_dib_elements }}", "env": "{{
4951 overcloud_dib_env_vars }}", "packages": "{{ overcloud_dib_packages }}"} ``.
5052``overcloud_dib_os_element ``
51- DIB base OS element. Default is ``{{ os_distribution }} ``.
53+ DIB base OS element. Default is ``{{ 'rocky-container' if os_distribution == 'rocky' else os_distribution }} ``.
5254``overcloud_dib_os_release ``
5355 DIB image OS release. Default is ``{{ os_release }} ``.
5456``overcloud_dib_elements_default ``
5557 List of default DIB elements. Default is ``["centos",
5658 "cloud-init-datasources", "disable-selinux", "enable-serial-console",
57- "vm"] `` when ``overcloud_dib_os_element `` is ``centos ``, or ``["ubuntu",
58- "cloud-init-datasources", "enable-serial-console", "vm"] `` when
59- ``overcloud_dib_os_element `` is ``ubuntu ``. The ``vm `` element is poorly
60- named, and causes DIB to build a whole disk image rather than a single
61- partition.
59+ "vm"] `` when ``overcloud_dib_os_element `` is ``centos ``, or
60+ ``["rocky-container", "cloud-init-datasources", "disable-selinux",
61+ "enable-serial-console", "vm"] `` when overcloud_dib_os_element is ``rocky ``
62+ or ``["ubuntu", "cloud-init-datasources", "enable-serial-console", "vm"] ``
63+ when ``overcloud_dib_os_element `` is ``ubuntu ``. The ``vm `` element is
64+ poorly named, and causes DIB to build a whole disk image rather than a
65+ single partition.
6266``overcloud_dib_elements_extra ``
6367 List of additional DIB elements. Default is none.
6468``overcloud_dib_elements ``
@@ -67,8 +71,9 @@ the configuration drive built by Bifrost during provisioning.
6771``overcloud_dib_env_vars_default ``
6872 DIB default environment variables. Default is
6973 ``{"DIB_BOOTLOADER_DEFAULT_CMDLINE": "nofb nomodeset gfxpayload=text
70- net.ifnames=1", "DIB_CLOUD_INIT_DATASOURCES": "ConfigDrive", "DIB_RELEASE":
71- "{{ overcloud_dib_os_release }}"} ``.
74+ net.ifnames=1", "DIB_CLOUD_INIT_DATASOURCES": "ConfigDrive",
75+ "DIB_CONTAINERFILE_RUNTIME": "docker", "DIB_CONTAINERFILE_NETWORK_DRIVER":
76+ "host", DIB_RELEASE": "{{ overcloud_dib_os_release }}"} ``.
7277``overcloud_dib_env_vars_extra ``
7378 DIB additional environment variables. Default is none.
7479``overcloud_dib_env_vars ``
0 commit comments