@@ -22,6 +22,7 @@ stackhpc_overcloud_dib_name: "deployment_image"
22
22
# StackHPC overcloud DIB image elements.
23
23
stackhpc_overcloud_dib_elements :
24
24
- " {{ os_distribution }}-{% if os_distribution == 'rocky' %}container-stackhpc{% else %}minimal{% endif %}"
25
+ - " {% if os_distribution == 'ubuntu' and stackhpc_repo_mirror_auth_proxy_enabled %}apt-no-verify-peer{% endif %}"
25
26
- " cloud-init-datasources"
26
27
- " {% if os_distribution == 'rocky' %}selinux-permissive{% endif %}"
27
28
- " enable-serial-console"
@@ -43,18 +44,16 @@ stackhpc_overcloud_dib_env_vars:
43
44
DIB_CONTAINERFILE_RUNTIME : " docker"
44
45
DIB_CONTAINERFILE_NETWORK_DRIVER : " host"
45
46
DIB_CONTAINERFILE_DOCKERFILE : " /opt/kayobe/src/stackhpc-image-elements/elements/rocky-container-stackhpc/containerfiles/9-stackhpc"
46
- # NOTE: Not currently syncing Ubuntu packages, since the on_demand mirror in
47
- # Ark does not work if the upstream mirror pulls packages (which it does
48
- # sometimes).
49
- # DIB_DISTRIBUTION_MIRROR: "{{ stackhpc_repo_ubuntu_focal_url if os_distribution == 'ubuntu' else '' }}"
47
+ DIB_CONTAINERFILE_BUILDOPTS : >-
48
+ --build-arg=ROCKY_USE_MIRRORS=true
49
+ --build-arg=ROCKY_MIRROR_URLS={{ [stackhpc_repo_rocky_9_baseos_url, stackhpc_repo_rocky_9_appstream_url] | join(',') }}
50
+ DIB_DISTRIBUTION_MIRROR : " {{ stackhpc_repo_ubuntu_jammy_url if os_distribution == 'ubuntu' else '' }}"
50
51
DIB_DRACUT_ENABLED_MODULES_DEFAULT_CONFIG : " {{ stackhpc_overcloud_dib_dracut_enabled_modules_default_config }}"
51
52
DIB_RELEASE : " {{ overcloud_dib_os_release }}"
52
53
DIB_SUDOERS_FILENAME : " no-fqdn"
53
54
# Avoid DNS queries during sudo commands, since we might not always have working DNS.
54
55
DIB_SUDOERS_CONFIG : |
55
56
Defaults !fqdn
56
- # FIXME: Support templating repo files.
57
- # DIB_YUM_MINIMAL_BOOTSTRAP_REPOS: /path/to/dir/containing/dib-mirror-*.repo
58
57
YUM : dnf
59
58
# Workaround for stack user home ownership bug
60
59
DIB_IMAGE_CACHE : " /tmp/yum"
0 commit comments