Skip to content

Commit 47b8707

Browse files
committed
Fix empty yum.repos.d in overcloud host image
no repos causes installation of tmux fail in terraform-kayobe-multinode. This regression was introduced by commit e0d1d6d
1 parent e1a73dc commit 47b8707

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

etc/kayobe/stackhpc-overcloud-dib.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,14 @@ stackhpc_overcloud_dib_env_vars_default:
5656
# Workaround for stack user home ownership bug
5757
DIB_IMAGE_CACHE: "/tmp/yum"
5858

59+
# DIB_ROCKY_CONTAINER_STACKHPC_RESTORE_UPSTREAM_REPOFILES=true is important for
60+
# the multinode workflow, where we need to install packages (tmux) in cloudinit
61+
# or deploy-openstack-config.yml: /etc/yum.repos.d is empty in the built image.
5962
stackhpc_overcloud_dib_env_vars_ark:
6063
DIB_CONTAINERFILE_BUILDOPTS: >-
6164
--build-arg=ROCKY_USE_CUSTOM_DNF_MIRRORS=true
6265
--build-arg=ROCKY_CUSTOM_DNF_MIRROR_URLS={{ [stackhpc_repo_rocky_9_baseos_url, stackhpc_repo_rocky_9_appstream_url] | join(',') }}
66+
--build-arg=DIB_ROCKY_CONTAINER_STACKHPC_RESTORE_UPSTREAM_REPOFILES=true
6367
DIB_DISTRIBUTION_MIRROR: "{{ stackhpc_repo_ubuntu_noble_url if os_distribution == 'ubuntu' else '' }}"
6468

6569
# StackHPC overcloud DIB image packages.

0 commit comments

Comments
 (0)