Channel Management CLI Tools

서버 컨테이너 내부의 셸에 액세스하려면 컨테이너 호스트에서 mgrctl term을 실행합니다. 이 위치에서 평소와 같이 CLI 도구를 실행할 수 있습니다.

There are tools for managing channels on the server. With spacewalk-remove-channel, list and delete channels in various ways.

1. Manage Channels with spacewalk-remove-channel

Usage: spacewalk-remove-channel [options]

The use of spacewalk-remove-channel is to remove channels in various ways.

The available commands and arguments for spacewalk-remove-channel are listed in this table. Use this syntax for spacewalk-remove-channel commands:

spacewalk-remove-channel [options]

The spacewalk-remove-channel tool has these primary commands:

Table 1. spacewalk-remove-channel Options
Option Description Example Use

list

List defined channels and exit.

spacewalk-remove-channel --list

channel

Delete this channel (can be present multiple times).

spacewalk-remove-channel --channel=CHANNEL

channel-with-children

Delete this channel and its child channels (can be present multiple times).

spacewalk-remove-channel --channel-with-children=CHANNEL_WITH_CHILDREN

unsubscribe

Unsubscribe systems registered to the specified channels. Note: Credentials are needed

spacewalk-remove-channel --unsubscribe

justdb

Delete only from the database, do not remove files from disk.

spacewalk-remove-channel --justdb

just-kickstart-trees

Remove only the kickstart trees for the channels specified.

spacewalk-remove-channel --just-kickstart-trees

skip-channels

Remove only packages from channel not the channel itself.

spacewalk-remove-channel --skip-channels

For a complete list of options and abbreviated options, see the --help output or the spacewalk-remove-channel manpage:

man spacewalk-remove-channel

For more information, see 채널 제거.