Red Hat NETWORK 4.1.0 - CLIENT Configuration Manual page 38

Client configuration
Hide thumbs Also See for NETWORK 4.1.0 - CLIENT:
Table of Contents

Advertisement

34
Remember, the sixth step is documented here as it pertains to systems running Red Hat
Linux 3 or newer. For Red Hat Enterprise Linux 2.1, use the following command instead:
gpg $(up2date --gpg-flags) --import /path/to/YOUR-RPM-GPG-KEY
This script comprises a clean and repeatable process that should fully configure any poten-
tial Red Hat Network client in preparation for registration to an RHN Proxy Server or RHN
Satellite Server. Remember, key values, such as the URL of your RHN Server, its public
directory, and your actual GPG key must be inserted into the placeholders listed within the
script. Also, depending on your environment, additional modifications may be required.
Although this script may work nearly verbatim, it should be used as a guide.
Like its components, this script may be centrally located. By placing this script in the
directory of the server, running
/pub/
session, one may run the entire bootstrap process with a single command from each client:
wget -O - http://proxy-or-sat.example.com.com/pub/bootstrap_script | bash
Warning
Running a shell script directly from input piped in over a Web connection obviously has
some inherent security risks. Therefore, it is vital to ensure the security of the source
server in this instance.
This one-line command may then be invoked across all of the systems on a network. If the
administrator has SSH access to all of the systems in question, it would be a simple task
to iterate over a list of these systems and run the command remotely on all of them. This
script would also be a perfect addition to the %post section of an existing kickstart script.
Chapter 6. Manually Scripting the Configuration
on it, and piping the output to a shell
wget -O-

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETWORK 4.1.0 - CLIENT and is the answer not in the manual?

Questions and answers

Table of Contents