spacewalk-channel (8) Linux Manual Page
spacewalk-channel – Subscribe to or unsubscribe system from channel.
Synopsis
spacewalk-channel [options]
Description
spacewalk-channel allows you to subscribe to and unsubscribe from specified channels via the command line. A visit to the "Red Hat Satellite" website isn’t required.
Options
-l, –list- Print a list of channel(s) that you are currently subscribed to.
-b, –base- Print a base channel that you are currently subscribed to.
-L, –available-channels- Print a list of all available child channels.
-a, –add- You are subscribing system to given channel(s). You have to specify –user and –password.
-r, –remove- You are unsubscribing system to given channel(s). You have to specify –user and –password.
-u, –user- Your username used to register the system with and for Red Hat Satellite. If you do not enter this option and it is required, you will be prompted.
-p, –password- The password associated with the username specified with the
–useroption. This is an unencrypted password. If you do not enter this option and it is required, you will be prompted. -c, –channel- Label of channel you want to subscribe to or unsubscribe from. Can be specified multiple times.
-v, –verbose- Print out successfull action.
-h, –help- Show a help message and exit.
Note
The addition and removal of channels is mutually exclusive, please use the command twice.
Examples
Subscribe to two channels:
-
spacewalk-channel --add -c rhn-tools-rhel-i386-server-5 -c rhel-i386-server-vt-5 --user username --password password
Unsubscribe from channel:
-
spacewalk-channel --remove -c rhn-tools-rhel-i386-server-5 -c rhel-i386-server-vt-5 --user username --password password
List subscribed channels:
-
spacewalk-channel --list
See Also
rhnplugin(8), rhn_register(8), up2date(5).
Authors
Miroslav Suchý <msuchy [at] redhat.com>
Bugs
Report bugs to <http://bugzilla.redhat.com>.
Copyright
Copyright © 2009-2010 Red Hat, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
