Subscribe to or unsubscribe system from channel.
spacewalk-channel [options]
Vspacewalk-channel allows you to subscribe to and unsubscribe from specified channels via the command line. A visit to the Red Hat Network (or Spacewalk) website isn't required.
Print a list of channel(s) that you are currently subscribed to.
Print a base channel that you are currently subscribed to.
Print a list of all available child channels.
You are subscribing system to given channel(s). You have to specify --user and --password.
You are unsubscribing system to given channel(s). You have to specify --user and --password.
Your username used to register the system with and for Red Hat Network, RHN Satellite or Spacewalk. If you do not enter this option and it is required, you will be prompted.
The password associated with the username specified with the --user option. This is an unencrypted password. If you do not enter this option and it is required, you will be prompted.
Label of channel you want to subscribe to or unsubscribe from. Can be specified multiple times.
Print out successfull action.
Show a help message and exit.
The addition and removal of channels is mutually exclusive, please use the command twice.
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
rhnplugin(8), rhn_register(8), up2date(5).
Miroslav Suchý <[email protected]>
Report bugs to <http://bugzilla.redhat.com>.
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.