Option
Description
--topdir=TOPDIR
Make all file operations relative to this string.
-h, --help
Show help message and exit
Table A.2.
rhncfg-client get
options
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 2004-01-13 14:18:31.000000000 -0500 +++
/etc/example-config.txt 2003-12-16 21:35:32.000000000 -0500 @@ -1,3 +1,5 @@
+additional text
In addition, you may include the
--topdir
option to compare config files in RHN with 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
/usr/bin/diff: /home/test/blah/var/spool/aalib.rpm: No such file or
directory
2.5. Verifying Config Files
To quickly determine if client configuration files are different than those associated with it via
RHN, issue the command:
rhncfg-client verify
The output resembles the following:
modified /etc/example-config.txt /var/spool/aalib.rpm
The file
example-config.txt
is locally modified, while
aalib.rpm
is not.
The following table lists the options available for
rhncfg-client verify
:
Appendix A. Command Line Config Management Tools
210
Содержание NETWORK SATELLITE 5.1.0 - CHANNEL MANAGEMENT
Страница 1: ...Red Hat Network Satellite Reference Guide 5 1 0 5 1 ISBN Publication date ...
Страница 2: ...Red Hat Network Satellite ...
Страница 4: ...Red Hat Network Satellite ...
Страница 12: ...xii ...
Страница 22: ...8 ...
Страница 35: ...Figure 2 11 Available Package Updates Available Package Updates 21 ...
Страница 52: ...38 ...
Страница 74: ...Figure 5 15 Text Mode Welcome Screen Chapter 5 Red Hat Network Registration Client 60 ...
Страница 176: ...162 ...
Страница 202: ...188 ...
Страница 220: ...206 ...
Страница 286: ...Field Value Warning Maximum Users Table C 74 RHN Satellite Server Users settings Appendix C Probes 272 ...
Страница 300: ...Your Preferences 71 Index 286 ...