Skip to content

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.yml file is configured. See Local Repo Config.

Steps

  1. In the local_repo_config.yml file, add your repository URLs under the key that matches the node architecture:

  2. additional_repos_x86_64

  3. additional_repos_aarch64

  4. Rerun the local_repo.yml playbook for Omnia to sync the repositories and update the repository configuration.

  5. For first time deployment, do the following:

  6. Build images: Build Cluster Images

  7. Discover nodes and PXE boot: Discover Nodes

  8. If you are deploying after cluster provisioning, refresh metadata and install packages on compute nodes.

Run on: compute node
sudo dnf clean all
sudo dnf makecache
sudo dnf install -y <package-name>

Next Steps