local_repo_config.yml Reference¶
File path: /opt/omnia/input/project_default/local_repo_config.yml
This file configures the local repository mirror on the OIM. The local_repo.yml
playbook uses these settings to synchronize RHEL, third-party, and custom
package repositories to the OIM via Pulp, enabling air-gapped or
bandwidth-efficient deployments.
Local Repo configuration parameters¶
|
Parameter |
Details |
|---|---|
|
user_registry list |
List of user container registries from which additional container images can be downloaded and synchronized into the Omnia local repository. |
|
user_repo_url_x86_64 list |
List of x86_64 repository URLs from which software packages/images will be downloaded and accessed by the cluster. Omnia downloads packages from these URLs and stores them in a local Pulp container. |
|
user_repo_url_aarch64 list |
List of aarch64 repository URLs from which software packages/images will be downloaded and accessed by the cluster. Omnia downloads packages from these URLs and stores them in a local Pulp container. |
|
rhel_os_url_x86_64 list |
Mandatory when cluster_os_type is rhel and RHEL subscription is not registered. Repository URLs for codeready-builder, appstream, and baseos for x86_64 architecture. |
|
rhel_os_url_aarch64 list |
Mandatory when cluster_os_type is rhel and RHEL subscription is not registered. Repository URLs for codeready-builder, appstream, and baseos for aarch64 architecture. |
|
omnia_repo_url_rhel_x86_64 list / required |
URLs for repositories from which RPMs will be downloaded for Omnia features on RHEL, with SSL configuration options and policy. |
|
omnia_repo_url_rhel_aarch64 list / required |
URLs for repositories from which RPMs will be downloaded for Omnia features on RHEL, with SSL configuration options and policy. |
|
additional_repos_x86_64 list |
Optional list of additional repository URLs for x86_64 architecture. These repos are aggregated into a single Pulp repository. |
|
additional_repos_aarch64 list |
Optional list of additional repository URLs for aarch64 architecture. These repos are aggregated into a single Pulp repository. |
|
rhel_subscription_repo_config_x86_64 list |
Optional configuration for overriding policy and caching settings for RHEL subscription-based repositories on x86_64 architecture. Only url and name are required. Certificates are auto-populated from subscription defaults if not provided. |
|
rhel_subscription_repo_config_aarch64 list |
Optional configuration for overriding policy and caching settings for RHEL subscription-based repositories on aarch64 architecture. Only url and name are required. Certificates are auto-populated from subscription defaults if not provided. |
Usage example¶
---
user_registry:
user_repo_url_x86_64:
user_repo_url_aarch64:
rhel_os_url_x86_64:
rhel_os_url_aarch64:
rhel_subscription_repo_config_x86_64:
- { url: "https://cdn.redhat.com/content/dist/rhel10/10.0/x86_64/baseos/os/", name: "baseos" }
- { url: "https://cdn.redhat.com/content/dist/rhel10/10.0/x86_64/appstream/os/", name: "appstream", policy: "always" }
- { url: "https://cdn.redhat.com/content/dist/rhel10/10.0/x86_64/supplementary/os/", name: "supplementary", policy: "always", caching: false }
rhel_subscription_repo_config_aarch64:
omnia_repo_url_rhel_x86_64:
- { url: "https://download.docker.com/linux/centos/10/x86_64/stable/", gpgkey: "https://download.docker.com/linux/centos/gpg", name: "docker-ce"}
- { url: "https://dl.fedoraproject.org/pub/epel/10/Everything/x86_64/", gpgkey: "https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-10", name: "epel"}
- { url: "https://pkgs.k8s.io/core:/stable:/v1.35/rpm/", gpgkey: "https://pkgs.k8s.io/core:/stable:/v1.35/rpm/repodata/repomd.xml.key", name: "kubernetes-v1-35"}
- { url: "https://download.opensuse.org/repositories/isv:/cri-o:/stable:/v1.35/rpm/", gpgkey: "https://download.opensuse.org/repositories/isv:/cri-o:/stable:/v1.35/rpm/repodata/repomd.xml.key", name: "cri-o-v1-35"}
- { url: "https://linux.mellanox.com/public/repo/doca/3.2.1/rhel10/x86_64/", gpgkey: "https://linux.mellanox.com/public/repo/doca/3.2.1/rhel10/x86_64/repodata/repomd.xml.key", name: "doca"}
- { url: "https://developer.download.nvidia.com/compute/cuda/repos/rhel10/x86_64/", gpgkey: "https://developer.download.nvidia.com/compute/cuda/repos/rhel10/x86_64/repodata/repomd.xml.key", name: "cuda"}
- { url: "https://developer.download.nvidia.com/hpc-sdk/rhel/x86_64", gpgkey: "https://developer.download.nvidia.com/hpc-sdk/rhel/RPM-GPG-KEY-NVIDIA-HPC-SDK", name: "nvidia-hpc-sdk"}
omnia_repo_url_rhel_aarch64:
- { url: "https://download.docker.com/linux/centos/10/aarch64/stable/", gpgkey: "https://download.docker.com/linux/centos/gpg", name: "docker-ce"}
- { url: "https://dl.fedoraproject.org/pub/epel/10/Everything/aarch64/", gpgkey: "https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-10", name: "epel"}
- { url: "https://linux.mellanox.com/public/repo/doca/3.2.1/rhel10/arm64-sbsa/", gpgkey: "https://linux.mellanox.com/public/repo/doca/3.2.1/rhel10/arm64-sbsa/repodata/repomd.xml.key", name: "doca"}
- { url: "https://developer.download.nvidia.com/compute/cuda/repos/rhel10/sbsa/", gpgkey: "https://developer.download.nvidia.com/compute/cuda/repos/rhel10/sbsa/repodata/repomd.xml.key", name: "cuda"}
- { url: "https://developer.download.nvidia.com/hpc-sdk/rhel/aarch64", gpgkey: "https://developer.download.nvidia.com/hpc-sdk/rhel/RPM-GPG-KEY-NVIDIA-HPC-SDK", name: "nvidia-hpc-sdk"}
additional_repos_x86_64:
additional_repos_aarch64:
Info
- Playbook Reference -- The
local_repo.ymlplaybook. - Disk Space -- Disk space for the repository mirror.
- Software Config -- Which packages are selected for installation.