Skip to content

Commit 4b8c9a2

Browse files
committed
Add python install DIB element
1 parent 05d45fd commit 4b8c9a2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

etc/kayobe/overcloud-dib.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ overcloud_dib_host_packages_extra:
6767
overcloud_dib_git_elements_extra:
6868
- repo: "https://github.com/stackhpc/stackhpc-image-elements"
6969
local: "{{ source_checkout_path }}/stackhpc-image-elements"
70-
version: "v1.6.3"
70+
version: "python-version"
7171
elements_path: "elements"
7272

7373
# List of git repositories containing Diskimage Builder (DIB) elements. See

etc/kayobe/stackhpc-overcloud-dib.yml

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ stackhpc_overcloud_dib_elements:
3232
- "{% if os_distribution == 'ubuntu' %}lvm{% endif %}"
3333
- "openssh-server"
3434
- "{% if os_distribution == 'ubuntu' %}sudoers{% endif %}"
35+
- "{% if os_distribution == 'rocky' %}python-version-rpm{% endif %}"
3536

3637
# StackHPC overcloud DIB image environment variables.
3738
stackhpc_overcloud_dib_env_vars:
@@ -58,6 +59,7 @@ stackhpc_overcloud_dib_env_vars:
5859
YUM: dnf
5960
# Workaround for stack user home ownership bug
6061
DIB_IMAGE_CACHE: "/tmp/yum"
62+
DIB_PYTHON_VERSION: "python3.12"
6163

6264
# StackHPC overcloud DIB image packages.
6365
stackhpc_overcloud_dib_packages:

0 commit comments

Comments
 (0)