Software Repositories

Repositories are used to collect software packages. When you have access to a software repository, you can install any of the software that the repository provides. You must have at least one repository associated with your software channels in Uyuni to assign clients to the channel and install and update packages on the client.

Most default channels in Uyuni are already associated with the correct repositories. If you are creating custom channels, you will need to associate a repository that you have access to, or that you have created yourself.

For more information about custom repositories and channels, see administration:custom-channels.adoc.

Local Repository Locations

You can configure local repositories on Salt clients, to provide packages that are not supplied by Uyuni channels.

Local repositories are disabled during onboarding. After a client has completed onboarding, you can add local repositories to these locations:

Table 1. Local Repository Locations
Client Operating System Local Repository Directory

SUSE Linux Enterprise Server

/etc/zypp/repos.d

openSUSE

/etc/zypp/repos.d

SUSE Linux Enterprise Server Expanded Support

/etc/yum.repos.d/

Red Hat Enterprise Linux

/etc/yum.repos.d/

CentOS

/etc/yum.repos.d/

Ubuntu

/etc/apt/sources.list.d/

Debian

/etc/apt/sources.list.d/

For Salt clients, local repositories remain persistent, even when applying the highstate.