Switch IPA building to Debian Bookworm

Depends-On: https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/903175
Change-Id: I7de7841c9fb16379cce94ce08413483472284534
This commit is contained in:
Dmitry Tantsur 2023-12-08 11:03:29 +01:00
parent f1b06ce436
commit 954032d719
No known key found for this signature in database
GPG Key ID: 315B2AF9FD216C60
4 changed files with 8 additions and 4 deletions

View File

@ -315,7 +315,7 @@ Bifrost supports the ability for a user to build a custom IPA ramdisk
utilizing diskimage-builder and ironic-python-agent-builder. In order utilizing diskimage-builder and ironic-python-agent-builder. In order
to utilize this feature, the ``download_ipa`` setting must be set to ``false`` to utilize this feature, the ``download_ipa`` setting must be set to ``false``
and the create_ipa_image must be set to "true". By default, the install and the create_ipa_image must be set to "true". By default, the install
playbook will build a Debian Bullseye based IPA image, if a pre-existing IPA playbook will build a Debian Bookworm based IPA image, if a pre-existing IPA
image is not present on disk. If you wish to explicitly set a specific release image is not present on disk. If you wish to explicitly set a specific release
to be passed to diskimage-create, then the setting ``dib_os_release`` can be to be passed to diskimage-create, then the setting ``dib_os_release`` can be
set in addition to ``dib_os_element``. set in addition to ``dib_os_element``.

View File

@ -59,9 +59,9 @@ dib_os_release can be utilized to set the DIB_RELEASE environment
variable for semi-dynamic disk image creation by a user or the variable for semi-dynamic disk image creation by a user or the
test script. By default, it is not set, but an example if test script. By default, it is not set, but an example if
dib_os_element is set to ``debian``, then a user could choose dib_os_element is set to ``debian``, then a user could choose
the ``bullseye`` release. the ``bookworm`` release.
dib_os_release: bullseye dib_os_release: bookworm
All the other command-line options to disk-image-create or All the other command-line options to disk-image-create or
ramdisk-image-create can be used by the role. The following is a list ramdisk-image-create can be used by the role. The following is a list

View File

@ -115,7 +115,7 @@
- dib_packages | length > 0 - dib_packages | length > 0
- name: "Set default of Debian Bullseye if building debian and not explicitly set, override with dib_os_release setting" - name: "Set default of Debian Bullseye if building debian and not explicitly set, override with dib_os_release setting"
set_fact: set_fact:
dib_os_release: "bullseye" dib_os_release: "bookworm"
when: dib_os_element == "debian" and dib_os_release is undefined when: dib_os_element == "debian" and dib_os_release is undefined
- name: "Initialize DIB source-repository variables" - name: "Initialize DIB source-repository variables"
set_fact: set_fact:

View File

@ -0,0 +1,4 @@
---
upgrade:
- |
Switches to Debian Bookworm for building IPA by default.