Red Hat NETWORK SATELLITE 5.1.0 - CLIENT Configuration Manual page 38

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

Advertisement

Chapter 6. Manually Scripting the Configuration
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
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.
32
on it, and piping the output to a shell session, one
wget -O-
/pub/

Advertisement

Table of Contents
loading

Table of Contents