You can see such a list of options for the add mode at
Table A.4, “
rhncfg-manager add
options”
.
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.
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
:
Option
Description
-cCHANNEL --channel=CHANNEL
Upload files in this config channel
-dDEST_FILE --dest-file=DEST_FILE
Upload the file as this path
--delim-start=DELIM_START
Start delimiter for variable interpolation
Appendix A. Command Line Config Management Tools
212
Содержание NETWORK SATELLITE 5.1.0 - CHANNEL MANAGEMENT
Страница 1: ...Red Hat Network Satellite Reference Guide 5 1 0 5 1 ISBN Publication date ...
Страница 2: ...Red Hat Network Satellite ...
Страница 4: ...Red Hat Network Satellite ...
Страница 12: ...xii ...
Страница 22: ...8 ...
Страница 35: ...Figure 2 11 Available Package Updates Available Package Updates 21 ...
Страница 52: ...38 ...
Страница 74: ...Figure 5 15 Text Mode Welcome Screen Chapter 5 Red Hat Network Registration Client 60 ...
Страница 176: ...162 ...
Страница 202: ...188 ...
Страница 220: ...206 ...
Страница 286: ...Field Value Warning Maximum Users Table C 74 RHN Satellite Server Users settings Appendix C Probes 272 ...
Страница 300: ...Your Preferences 71 Index 286 ...