5.3. Script Use
Finally, when you're finished preparing the script for use, you are ready to run it. Log into the RHN
Satellite Server or RHN Proxy Server, navigate to the /var/www/html/pub/bootstrap/ directory
and run the following command, altering the hostname and name of the script as needed to suit the
system type:
cat bootstrap-EDITED-NAME.sh | ssh root@CLIENT_MACHINE1 /bin/bash
A less secure alternative is to use either wget or curl to retrieve and run the script from every client
system. Log into each client machine and issue the following command, altering script and hostname
accordingly:
wget -qO - \
https://your-satellite.example.com/pub/bootstrap/bootstrap-EDITED-NAME.sh \
| /bin/bash
Or with, curl:
curl -Sks \
https://your-satellite.example.com/pub/bootstrap/bootstrap-EDITED-NAME.sh \
| /bin/bash
When this script has been run on each client system, all should be configured to use the RHN Server.
5.4. RHN Bootstrap Options
The RHN Bootstrap offers many command line options for creating client boostrap scripts. Although
descriptions of these options can be found within the following table, ensure that they are available in
the version of the tool installed on your RHN Server by issuing the command rhn-bootstrap --
help or reviewing its man page.
Option
-h, --help
--activation-keys=ACTIVATION_KEYS
--overrides=OVERRIDES
--script=SCRIPT
--hostname=HOSTNAME
Description
Display the help screen with a list
of options specific to generating the
bootstrap script.
activation key(s) as defined in the RHN
website with multiple entries separated
by a comma and no space
Configuration overrides filename. The
default is client-config-overrides.txt.
The bootstrap script filename. The
default is bootstrap.sh.
The fully qualified domain name
(FQDN) of the server to which client
systems will connect.
Script Use
23
Need help?
Do you have a question about the NETWORK SATELLITE 5.3.0 - CLIENT and is the answer not in the manual?