채널 제거
이 장에서는 수명이 종료된 제품을 정리하거나 공간을 확보하거나 기타 목적으로 SUSE Multi-Linux Manager에서 SUSE 제공 채널을 수동으로 제거하는 방법을 설명합니다.
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