Appendix A. Command Line Config Management Tools
191
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
--delim-end=DELIM_END
End delimiter for variable interpolation
-h, --help
show help message and exit
Table A-4.
rhncfg-manager add
options
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
Содержание NETWORK 4.0 -
Страница 1: ...Red Hat Network 4 0 Reference Guide...
Страница 10: ......
Страница 16: ...vi Introduction to the Guide...
Страница 24: ...8 Chapter 1 Red Hat Network Overview...
Страница 40: ...24 Chapter 2 Red Hat Update Agent Figure 2 11 Available Package Updates...
Страница 58: ...42 Chapter 2 Red Hat Update Agent...
Страница 80: ...64 Chapter 5 Red Hat Network Registration Client Figure 5 15 Text Mode Welcome Screen...
Страница 186: ...170 Chapter 7 Monitoring...
Страница 200: ...184 Chapter 8 UNIX Support Guide...
Страница 214: ...198 Appendix A Command Line Config Management Tools...
Страница 274: ...258 Appendix C Probes...
Страница 282: ...266 Glossary...