Chapter 5. Using RHN Bootstrap
cat bootstrap-EDITED-NAME.sh | ssh root@CLIENT_MACHINE1 /bin/bash
A less secure alternative is to use either
system. Log into each client machine and issue the following command, altering script and hostname
accordingly:
wget -qO- https://test.com/pub/bootstrap/bootstrap-EDITED-NAME.sh | /bin/bash
Or with,
:
curl
curl -Sks https://test.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 they are available in the
version of the tool installed on your RHN Server by issuing the command
or reviewing its man page.
Option
,
-h
--help
--activation-keys=ACTIVATION_KEYS
--overrides=OVERRIDES
--script=SCRIPT
--hostname=HOSTNAME
--ssl-cert=SSL_CERT
--gpg-key=GPG_KEY
--http-proxy=HTTP_PROXY
--http-proxy-username=HTTP_PROXY_USERNAME
--http-proxy-password=HTTP_PROXY_PASSWORD
or
to retrieve and run the script from every client
wget
curl
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.
The path to your organization's public SSL certificate,
either a package or a raw certificate. It will be copied
to the
--pub-tree
search of
--pub-tree
The path to your organization's public GPG key, if
used. It will be copied to the location specified by the
option.
--pub-tree
The HTTP proxy setting for the client systems in the
form hostname:port. A value of "" disables this
setting.
If using an authenticating HTTP proxy, specify a
username. A value of "" disables this setting.
If using an authenticating HTTP proxy, specify a
password.
rhn-bootstrap --help
option. A value of "" will force a
.
21
Need help?
Do you have a question about the NETWORK 3.7 - CLIENT and is the answer not in the manual?
Questions and answers