Deploy Additional Repositories¶
This section explains how to add extra RPM repositories to the Omnia local repository so that packages can be installed ad-hoc on compute nodes.
Overview¶
Packages from these repositories are intended for ad-hoc installation on
compute nodes using dnf install and are not used during image builds
through additional_packages.json.
Prerequisites¶
- Omnia Infrastructure Manager (OIM) is deployed and operational.
- The
local_repo_config.ymlfile is configured. See Local Repo Config.
Steps¶
-
In the
local_repo_config.ymlfile, add your repository URLs under the key that matches the node architecture: -
additional_repos_x86_64 -
additional_repos_aarch64 -
Rerun the
local_repo.ymlplaybook for Omnia to sync the repositories and update the repository configuration. -
For first time deployment, do the following:
-
Build images: Build Cluster Images
-
Discover nodes and PXE boot: Discover Nodes
-
If you are deploying after cluster provisioning, refresh metadata and install packages on compute nodes.
sudo dnf clean all
sudo dnf makecache
sudo dnf install -y <package-name>
Next Steps¶
- Deploy Additional Packages -- Deploy additional software packages and container images on cluster nodes.
- Apptainer -- Pull and run container images using Apptainer.