client systems touched by the script. This feature is useful in reconfiguring multiple systems
simultaneously.
• Include the
--allow-remote-commands
Like configuration management, this feature aids in reconfiguring multiple systems.
When you're done, your command will look something like this:
rhn-bootstrap --activation-keys KEY1,KEY2 \ --gpg-key
/var/www/html/pub/MY_CORPORATE_PUBLIC_KEY \ --allow-config-actions \
--allow-remote-commands
Obviously, include the actual key names. Refer to
complete list of options.
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
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
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.
4. RHN Bootstrap Options
The RHN Bootstrap offers many command line options for creating client boostrap scripts.
flag to enable remote script use on all client systems.
Section 4, "RHN Bootstrap Options"
/var/www/html/pub/bootstrap/
or
to retrieve and run the script from every
wget
curl
Script Use
for the
27
Need help?
Do you have a question about the NETWORK SATELLITE 5.1.0 - CLIENT and is the answer not in the manual?