ソフトウェアリポジトリ

リポジトリはソフトウェアパッケージを収集するために使用されます。 ソフトウェアリポジトリにアクセスできる場合、リポジトリが提供するソフトウェアをインストールできます。 1つ以上のリポジトリをSUSE Managerのソフトウェアチャンネルに関連付け、クライアントをそのチャンネルに割り当て、クライアントのパッケージにインストールして更新する必要があります。

SUSE Managerのほとんどのデフォルトチャンネルは、正しいリポジトリに関連付けられています。 カスタムチャンネルを作成している場合、アクセスできるリポジトリまたは自分で作成したリポジトリを関連付ける必要があります。

カスタムリポジトリおよびチャンネルの詳細については、カスタムチャンネルを参照してください。

1. ローカルリポジトリの場所

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

ほとんどの場合、クライアントシステムはローカルリポジトリを必要としません。 ローカルリポジトリを使用すると、クライアントで使用できるパッケージがどれかという問題が発生する可能性があります。 この問題が発生すると、予期しないパッケージがインストールされる場合があります。

ローカルリポジトリは、オンボーディング中に無効になります。

Local repositories will be disabled each time a channel state is executed. For example, when applying the highstate or performing a package action.

If local repositories should stay enabled after onboarding, the following pillar must be set for the affected client:

/srv/pillar/top.slsファイルを編集します。

base:
  'minionid':
    - localrepos

/srv/pillar/localrepos.slsファイルを編集します。

mgr_disable_local_repos: False

クライアントがオンボードを完了した後、ローカルリポジトリを次の場所に追加できます。

Table 1. ローカルリポジトリの場所
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 and similar derivatives

/etc/yum.repos.d/

Ubuntu

/etc/apt/sources.list.d/

Debian

/etc/apt/sources.list.d/