Loading…
carinahagl
Translation approved |
|
carinahagl
Translation approved |
|
carinahagl
Translation approved |
|
carinahagl
Translation approved |
|
For distribution to be registered by the Uyuni server it is important to map distribution to the correct software channel.
Software channels can be named differently without any corellation to distribution name; it is then needed to allow custom distribution name to software channel mapping.
One way to set software channel is by flag --channel to the distribution copy command.
For frequent usage it is possible to write custom product mapping to the mgradm configuration file in the following format:
ProductMap:
<distribution name>:
<distribution version>:
<distribution architecture>:
ChannelLabel: <channel label>
InstallType: <one of rhel_7|rhel_8|rhel_9|sles12generic|sles15generic|generic_rpm>
TreeName: <custom distribution name>
Where
* <distribution name> is the name of the distribution, by default taken from '.treeinfo' file from the media. If '.treeinfo' is not found or available, command line option is required and used.
* <distribution version> is the version of the distribution, by default taken from '.treeinfo' file from the media. If'.treeinfo' is not found, command line option is required and used.
* <distribution architecture> is distribution architecture, by default taken from '.treeinfo' file from the media. If '.treeinfo' is not found, command line option is required and used.
* ChannelLabel is the channel label from Uyuni server and which is to be used for this distribution; can be overridden by command line flag.
* InstallType is used when installer is known (for autoyast or kickstart) or use 'generic_rpm'.
* TreeName is how the distribution will be presented in the Uyuni server UI. If not set <distribution name> is used.
Build-in product map:
{{ .DefaultProductMap }}
Uyuniサーバでディストリビューションを登録するには、ディストリビューションを正しいソフトウェアチャンネルにマッピングすることが重要です。
ソフトウェアチャンネルは、ディストリビューション名と関連付けずに異なる名前を付けることができます。その場合、カスタムディストリビューション名とソフトウェアチャンネルマッピングを許可する必要があります。
ソフトウェアチャンネルを設定する1つの方法は、ディストリビューションコピーコマンドに--channelフラグを付けることです。
頻繁に使用する場合は、mgradmの設定ファイルに以下のフォーマットでカスタム製品マッピングを書き込むことができます。
製品マップ:
<ディストリビューション名>:
<ディストリビューションバージョン:
<ディストリビューションアーキテクチャ>:
ChannelLabel: <チャンネルラベル>
InstallType: <rhel_7|rhel_8|rhel_9|sles12generic|sles15generic|generic_rpmのいずれか>
TreeName: <カスタムディストリビューション名>
ここで
* <ディストリビューション名> はディストリビューションの名前で、デフォルトではメディアの「.treeinfo」ファイルから取得されます。「.treeinfo」が見つからないか使用できない場合は、コマンドラインオプションが必要であり、使用されます。
*<ディストリビューションバージョン>はディストリビューションのバージョンで、デフォルトではメディアの「.treeinfo」ファイルから取得されます。「.treeinfo」が見つからない場合は、コマンドラインオプションが必要であり、使用されます。
*<ディストリビューションアーキテクチャ>はディストリビューションのアーキテクチャで、デフォルトではメディアの「.treeinfo」ファイルから取得されます。「.treeinfo」が見つからない場合は、コマンドラインオプションが必要であり、使用されます。
* ChannelLabelはUyuniサーバからのチャンネルラベルで、このディストリビューションに使用され、コマンドラインフラグで上書きできません。
* InstallType は、インストーラが既知の場合 (autoyast
ややkickstart* TreeName は、Uyuniサーバーの
がどのように表示されるかの表示方法を指定します。設定されていない場合は <ディストリビューション名> が使用されます。ビルトイン製品マップ:
{{ .DefaultProductMap }}