spacewalk-remove-channel

8 Version 3.5.0

`spacewalk-remove-channel`

Removes a channel from an Red Hat Satellite or Spacewalk server.

            spacewalk-remove-channel
            options ...
            -cCHANNEL_LABEL
            -aPARENT_LABEL

             -c --channel

             -a --channel-with-children

             -u --unsubscribe

            -l
            --list

            --justdb

            -v --verbose

            --force

            -p --skip-packages

            --skip-kickstart-trees

            --just-kickstart-trees

            --skip-channels

## Description

The spacewalk-channel-remove completely removes channels (even Red Hat supplied ones) from a Red Hat Satellite or Spacewalk server.

By default systems are not unsubscribed from the specified channel(s). If systems are currently subcribed, they will be listed. To unsubscribe these systems, simply use the --unsubscribe option.

## Options

-h, --help

- Display the help screen with a list of options.

-l, --list

- List all channels on the satellite.

-u, --unsubscribe

- Unsubscribe any systems subscribed to the specified channels.

--justdb

- Don't remove any files from the file system. Instead only delete metadata from the database.

-c`CHANNEL`, --channel=`CHANNEL`

- Delete the channel with the specified label. May be used multiple times to specify multiple channels.

-a`PARENT`, --channel-with-children=`PARENT`

- Delete the channel with the specified label and its child channels. May be used multiple times to specify multiple parent channels.

--force

- Delete packages from the satellite even if the package is in more channels than what is specified. (Not Recommended)

-p, --skip-packages

- Do not remove the package metadata or the files from the filesystem. (Not Recommended)

--skip-kickstart-trees

- Do not remove kickstart trees from the filesystem.

--just-kickstart-trees

- Remove only the kickstart trees for the channels specified from the database and the filesystem. This option can be used only in combination with --skip-kickstart-trees. Any other options will be discarded.

--skip-channels

- Remove only packages from channel not the channel itself.

## Examples

- `spacewalk-remove-channel --list`
- `spacewalk-remove-channel --channel=rhel-i386-as-3`
- `spacewalk-remove-channel --channel-with-children=rhel-i386-as-3`

## Authors

- Todd Warner taw@redhat.com
- Mihai Ibanescu misa@redhat.com
- Justin Sherrill jsherril@redhat.com