Viewing Config Channels; Differentiating Between Config Files - Red Hat NETWORK 4.1.0 Reference Manual

Hide thumbs Also See for NETWORK 4.1.0:
Table of Contents

Advertisement

200
A.2.3. Viewing Config Channels
To view the labels and names of the config channels that apply to the system, issue the
command:
rhncfg-client channels
You should see output resembling:
Config channels:
Label
-----
config-channel-17
config-channel-14
The following table lists the options available for
Option
--topdir=TOPDIR
-h, --help
Table A-2.
rhncfg-client get
A.2.4. Differentiating between Config Files
To view the differences between the config files deployed on the system and those stored
by RHN, issue the command:
rhncfg-client diff
The output resembles the following:
--- /tmp/@3603.0.rhn-cfg-tmp
+++ /etc/example-config.txt
@@ -1,3 +1,5 @@
+additional text
In addition, you may include the
those located in an arbitrary (and unused) location on the client system, like so:
[root@ root]# rhncfg-client diff --topdir /home/test/blah/
/usr/bin/diff: /home/test/blah/etc/example-config.txt: No such file or directory
Appendix A. Command Line Config Management Tools
Name
----
config chan 2
config chan 1
options
2004-01-13
--topdir
rhncfg-client get
Description
Make all file operations relative to this string.
Show help message and exit
14:18:31.000000000 -0500
2003-12-16
option to compare config files in RHN with
:
21:35:32.000000000 -0500

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents