チャンネルの削除
この章では、SUSEで提供されているチャンネルをSUSE Multi-Linux Managerから手動で削除する方法、サポート終了製品をクリーンアップする方法、および他の目的のために領域を再利用する方法について説明しています。
1. チャンネルの削除の準備
チャンネルを削除する前に、削除するチャンネルのラベルを特定する必要があります。これは、Web UIを使用するか、コマンドラインで行うことができます。
|
1.1. チャンネルのラベルの特定
-
SUSE Multi-Linux Manager Web UIで、に移動します。
-
This page displays the
Channel Name. If you select the link for a channel name, you will see the field forChannel Label. -
削除するチャンネルと子チャンネルを特定します。
-
SUSE Multi-Linux Managerコンテナホストで、次のコマンドを実行して、チャンネルのリストを取得できます。
mgrctl exec -ti -- spacewalk-remove-channel -l
1.2. システムのチャンネルのサブスクリプションの確認
-
SUSE Multi-Linux Manager Web UIで、に移動します。
-
Locate
Systemscolumn on the right. -
Check the
Systemscolumn for the channel, or any child channels, that you want to remove.
-
SUSE Multi-Linux Managerコンテナホストで次のコマンドを実行します。
mgrctl exec -ti -- 'spacecmd -- softwarechannel_listsystems <Channel Label>'
2. チャンネルの削除
A channel, with its metadata, can be removed with command line tools only. The spacewalk-remove-channel command automatically removes the software packages, if they are not referenced anymore by other channels. Thus it removes the metadata from the database and the files from the storage medium.
2.1. 子チャンネルの削除
-
個々のチャンネルを削除するには、SUSE Multi-Linux Managerコンテナホストで次のコマンドを実行します。
mgrctl exec -ti -- spacewalk-remove-channel -c channel-label
-
To remove multiple channels at the same time, use
-cflag for each channel, followed by thechannel-label. For example:mgrctl exec -ti -- spacewalk-remove-channel -c channel-label1 -c channel-label2
2.2. 親チャンネルとそのすべての子チャンネルの削除
-
To remove a parent channel with all of the child channels run
spacewalk-remove-channelwith the-aoption and replaceparent-channel-labelwith a channel label such assles12-sp5-pool-x86_64:mgrctl exec -ti -- spacewalk-remove-channel -a parent-channel-label