B.3.3. Differentiating Between Latest Config Files - Red Hat NETWORK SATELLITE 5.3.0 Reference Manual

Hide thumbs Also See for NETWORK SATELLITE 5.3.0:
Table of Contents

Advertisement

Appendix B. Command Line Config Management Tools
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
-cCHANNEL --channel=CHANNEL
-dDEST_FILE --dest-file=DEST_FILE
--delim-start=DELIM_START
--delim-end=DELIM_END
-h, --help
Table B.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.

B.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:
242
Description
Upload files in this config channel
Upload the file as this path
Start delimiter for variable interpolation
End delimiter for variable interpolation
show help message and exit

Advertisement

Table of Contents
loading

Table of Contents