File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -56,11 +56,17 @@ stackhpc_overcloud_dib_env_vars_default:
5656 # Workaround for stack user home ownership bug
5757 DIB_IMAGE_CACHE : " /tmp/yum"
5858
59+ # NB: use --build-arg to pass arguments only to the Dockerfile.
60+ # Use stackhpc_overcloud_dib_env_vars_ark keys directly for elements (eg 80-cleanup-and-restore-repofiles)
5961stackhpc_overcloud_dib_env_vars_ark :
6062 DIB_CONTAINERFILE_BUILDOPTS : >-
6163 --build-arg=ROCKY_USE_CUSTOM_DNF_MIRRORS=true
6264 --build-arg=ROCKY_CUSTOM_DNF_MIRROR_URLS={{ [stackhpc_repo_rocky_9_baseos_url, stackhpc_repo_rocky_9_appstream_url] | join(',') }}
6365 DIB_DISTRIBUTION_MIRROR : " {{ stackhpc_repo_ubuntu_noble_url if os_distribution == 'ubuntu' else '' }}"
66+ # DIB_ROCKY_CONTAINER_STACKHPC_RESTORE_UPSTREAM_REPOFILES=true is important for
67+ # the multinode workflow, where we need to install packages (tmux) in cloudinit
68+ # or deploy-openstack-config.yml: /etc/yum.repos.d is empty in the built image.
69+ DIB_ROCKY_CONTAINER_STACKHPC_RESTORE_UPSTREAM_REPOFILES : true
6470
6571# StackHPC overcloud DIB image packages.
6672stackhpc_overcloud_dib_packages :
You can’t perform that action at this time.
0 commit comments