Appendix B. Command Line Config Management Tools
244
B.3.5. Downloading All Files in a Channel
To download all the files in a channel to disk, create a directory and issue the following command:
rhncfg-manager download-channel
channel-label
--topdir .
The output resembles the following:
Copying /tmp/dest_path/example-config.txt -> \ blah2/tmp/dest_path/
example-config.txt
The following table lists the options available for
rhncfg-manager download-channel
:
Option
Description
-tTOPDIR, --topdir=TOPDIR
Directory all the file paths are relative to. This option
must be set.
-h, --help
Show help message and exit
Table B.7.
rhncfg-manager download-channel
options
B.3.6. Getting the Contents of a File
To direct the contents of a particular file to stdout, issue the command:
rhncfg-manager get --channel=
channel-label
\ /tmp/dest_path/example-
config.txt
You should see the contents of the file as output.
B.3.7. Listing All Files in a Channel
To list all the files in a channel, issue the command:
rhncfg-manager list
channel-label
You should see output resembling:
Files in config channel `example-channel3': /tmp/dest_path/example-
config.txt
The following table lists the options available for
rhncfg-manager get
:
Option
Description
-cCHANNEL, --channel=CHANNEL
Get file(s) from this config channel
-tTOPDIR, --topdir=TOPDIR
Make all files relative to this string
Summary of Contents for NETWORK SATELLITE 5.3.0 - CHANNEL MANAGEMENT
Page 1: ...Red Hat Network Satellite 5 3 0 Reference Guide Red Hat Network Satellite ...
Page 32: ...20 ...
Page 44: ...Chapter 4 Red Hat Update Agent 32 Figure 4 11 Available Package Updates ...
Page 168: ...156 ...
Page 180: ...168 ...
Page 216: ...204 ...
Page 232: ...220 ...
Page 248: ...236 ...
Page 260: ...248 ...
Page 309: ...297 Appendix E Revision History Revision 1 0 Fri Feb 27 2009 ...
Page 310: ...298 ...
Page 318: ...306 ...