Appendix A. Command Line Config Management Tools
194
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
--delim-end=DELIM_END
End delimiter for variable interpolation
-h, --help
show help message and exit
Table A.4.
rhncfg-manager add
options
Note
By default, the maximum file size for confiugration files is 128KB. If you need to change
that value, find or create the following line in the
/etc/rhn/rhn.conf
file:
web.maximum_config_file_size=128
Change the value from 128 to whatever limit you want in bytes.
A.3.3. Differentiating between Latest Config Files
To view the differences between the config files on disk and the latest revisions in a channel, issue the
command:
rhncfg-manager diff --channel=
channel-label
--dest-file=
/path/to/
file.txt
\
/local/path/to/file
You should see output resembling:
/tmp/dest_path/example-config.txt /home/test/blah/hello_world.txt
--- /tmp/dest_path/example-config.txt config_channel: example-
channel revision: 1 +++ /home/test/blah/hello_world.txt 2003-12-14
19:08:59.000000000 -0500 @@ -1 +1 @@ -foo +hello, world
The following table lists the options available for
rhncfg-manager diff
:
Option
Description
-cCHANNEL, --channel=CHANNEL
Get file(s) from this config channel
-rREVISION, --revision=REVISION
Use this revision
-dDEST_FILE, --dest-file=DEST_FILE
Upload the file as this path
-tTOPDIR, --topdir=TOPDIR
Make all files relative to this string
-h, --help
Show help message and exit
Table A.5.
rhncfg-manager diff
options
A.3.4. Differentiating between Various Versions
To compare different versions of a file across channels and revisions, use the
-r
flag to indicate
which revision of the file should be compared and the
-n
flag to identify the two channels to be
Содержание NETWORK SATELLITE 5.1.1 - RELEASE NOTES
Страница 1: ...Red Hat Network Satellite 5 1 1 Reference Guide Red Hat Network Satellite ...
Страница 10: ...x ...
Страница 30: ...Chapter 2 Red Hat Update Agent 18 Figure 2 11 Available Package Updates ...
Страница 46: ...34 ...
Страница 68: ...56 ...
Страница 162: ...150 ...
Страница 174: ...162 ...
Страница 186: ...174 ...
Страница 259: ...247 Appendix D Revision History Revision History Revision 1 0 ...
Страница 260: ...248 ...
Страница 268: ...256 ...