Listing Config Files; Getting A Config File - Red Hat NETWORK 4.0 Reference Manual

Hide thumbs Also See for NETWORK 4.0:
Table of Contents

Advertisement

Appendix A. Command Line Config Management Tools
A.2.1. Listing Config Files
To list the configuration files for the machine and the labels of the config channels contain-
ing them, issue the command:
rhncfg-client list
The output resembles the following list:
Config Channel
config-channel-17
config-channel-17
config-channel-14
These are the configuration files that apply to your system. However, there may be duplicate
files present in the other channels. For example, issue the following command:
rhncfg-manager list config-channel-14
and observe the following output:
Files in config channel 'config-channel-14'
/etc/example-config.txt
/etc/rhn/rhn.conf
You may then wonder where the second version of
The rank of the
/etc/example-config.txt
than that of the same file in
uration file in
config-channel-14
resides in the channel. The
not be deployed on this system.
A.2.2. Getting a Config File
To download the most relevant configuration file for the machine, issue the command:
rhncfg-client get /etc/example-config.txt
You should see output resembling:
Deploying /etc/example-config.txt
You may then view the contents of the file with
is selected as the most relevant based upon the rank of the config channel containing it.
This is accomplished within the Configuration tab of the System Details page. Refer to
Section 6.4.2.8 System Details for instructions.
File
/etc/example-config.txt
/var/spool/aalib.rpm
/etc/rhn/rhn.conf
config-channel-14
is not deployed for this system, although the file still
rhncfg-client
/etc/example-config.txt
file in
config-channel-17
. As a result, the version of the config-
command does not list the file because it will
or another pager. Note that the file
less
187
went.
was higher

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents