Red Hat NETWORK 4.1.0 - CLIENT Configuration Manual page 43

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

Advertisement

Appendix A. Sample Bootstrap Script
ORG_CA_CERT=RHN-ORG-TRUSTED-SSL-CERT
ORG_CA_CERT_IS_RPM_YN=0
USING_SSL=1
USING_GPG=1
REGISTER_THIS_BOX=1
ALLOW_CONFIG_ACTIONS=0
ALLOW_REMOTE_COMMANDS=0
FULLY_UPDATE_THIS_BOX=1
#
# -----------------------------------------------------------------------------
# DO NOT EDIT BEYOND THIS POINT -----------------------------------------------
# -----------------------------------------------------------------------------
#
# an idea from Erich Morisse (of Red Hat).
# use either wget *or* curl
# Also check to see if the version on the
# machine supports the insecure mode and format
# command accordingly.
if [ -x /usr/bin/wget ] ; then
output='/usr/bin/wget --no-check-certificate 2>&1'
error='echo $output | grep "unrecognized option"'
if [ -z "$error" ] ; then
FETCH="/usr/bin/wget -q -r -nd --no-check-certificate"
else
FETCH="/usr/bin/wget -q -r -nd"
fi
else
if [ -x /usr/bin/curl ] ; then
output='/usr/bin/curl -k 2>&1'
error='echo $output | grep "is unknown"'
if [ -z "$error" ] ; then
FETCH="/usr/bin/curl -SksO"
else
FETCH="/usr/bin/curl -SsO"
fi
fi
fi
HTTP_PUB_DIRECTORY=http://${HOSTNAME}/pub
HTTPS_PUB_DIRECTORY=https://${HOSTNAME}/pub
if [ $USING_SSL -eq 0 ] ; then
HTTPS_PUB_DIRECTORY=${HTTP_PUB_DIRECTORY}
fi
echo
39

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