@@ -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"
@@ -44,18 +45,16 @@ stackhpc_overcloud_dib_env_vars:
44
45
DIB_CONTAINERFILE_RUNTIME : " docker"
45
46
DIB_CONTAINERFILE_NETWORK_DRIVER : " host"
46
47
DIB_CONTAINERFILE_DOCKERFILE : " /opt/kayobe/src/stackhpc-image-elements/elements/rocky-container-stackhpc/containerfiles/9-stackhpc"
47
- # NOTE: Not currently syncing Ubuntu packages, since the on_demand mirror in
48
- # Ark does not work if the upstream mirror pulls packages (which it does
49
- # sometimes).
50
- # DIB_DISTRIBUTION_MIRROR: "{{ stackhpc_repo_ubuntu_focal_url if os_distribution == 'ubuntu' else '' }}"
48
+ DIB_CONTAINERFILE_BUILDOPTS : >-
49
+ --build-arg=ROCKY_USE_MIRRORS=true
50
+ --build-arg=ROCKY_MIRROR_URLS={{ [stackhpc_repo_rocky_9_baseos_url, stackhpc_repo_rocky_9_appstream_url] | join(',') }}
51
+ DIB_DISTRIBUTION_MIRROR : " {{ stackhpc_repo_ubuntu_jammy_url if os_distribution == 'ubuntu' else '' }}"
51
52
DIB_DRACUT_ENABLED_MODULES_DEFAULT_CONFIG : " {{ stackhpc_overcloud_dib_dracut_enabled_modules_default_config }}"
52
53
DIB_RELEASE : " {{ overcloud_dib_os_release }}"
53
54
DIB_SUDOERS_FILENAME : " no-fqdn"
54
55
# Avoid DNS queries during sudo commands, since we might not always have working DNS.
55
56
DIB_SUDOERS_CONFIG : |
56
57
Defaults !fqdn
57
- # FIXME: Support templating repo files.
58
- # DIB_YUM_MINIMAL_BOOTSTRAP_REPOS: /path/to/dir/containing/dib-mirror-*.repo
59
58
YUM : dnf
60
59
# Workaround for stack user home ownership bug
61
60
DIB_IMAGE_CACHE : " /tmp/yum"
0 commit comments