Creating a Config Channel
193
The
Red Hat Network Configuration Manager
offers these primary modes: add, create-channel, diff,
diff-revisions, download-channel, get, list, list-channels, remove, remove-channel, revisions, update,
and upload-channel.
Each mode offers its own set of options, which can be seen by issuing the following command:
rhncfg-manager
mode
--help
Replace
mode
with the name of the mode to be inspected:
rhncfg-manager diff-revisions --help
You can see such a list of options for the add mode at
Table A.4, “
rhncfg-manager add
options”
.
A.3.1. Creating a Config Channel
To create a config channel for your organization, issue the command:
rhncfg-manager create-channel
channel-label
If prompted for your RHN username and password, provide them. The output resembles the following:
Red Hat Network username: rhn-user Password: Creating config
channel
channel-label
Config channel
channel-label
created
Once you have created a config channel, use the remaining modes listed above to populate and
maintain that channel.
A.3.2. Adding Files to a Config Channel
To add a file to a config channel, specify the channel label as well as the local file to be uploaded,
such as:
rhncfg-manager add --channel=
channel-label
/path/to/file
In addition to the required channel label and the path to the file, you may use the available options for
modifying the file during its addition. For instance, you may alter the path and file name by including
the
--dest-file
option in the command, like:
rhncfg-manager add --channel=
channel-label
--dest-file=
/new/path/to/
file.txt/path/to/file
The output resembles the following:
Pushing to channel example-channel Local file >/path/to/file -> remote
file /new/path/to/file.txt
The following table lists the options available for
rhncfg-manager add
:
Summary of Contents for NETWORK SATELLITE 5.1.1 - RELEASE NOTES
Page 1: ...Red Hat Network Satellite 5 1 1 Reference Guide Red Hat Network Satellite ...
Page 10: ...x ...
Page 30: ...Chapter 2 Red Hat Update Agent 18 Figure 2 11 Available Package Updates ...
Page 46: ...34 ...
Page 68: ...56 ...
Page 162: ...150 ...
Page 174: ...162 ...
Page 186: ...174 ...
Page 259: ...247 Appendix D Revision History Revision History Revision 1 0 ...
Page 260: ...248 ...
Page 268: ...256 ...