Red Hat NETWORK 3.7 - CLIENT Configuration Manual page 34

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

Advertisement

30
# Should have created an activation key or keys on the RHN Server's
# website and edited the value of ACTIVATION_KEYS above.
#
# If you require use of several different activation keys, copy this file and
# change the string as needed.
#
if [ -z "$ACTIVATION_KEYS" ] ; then
echo "*** ERROR: in order to bootstrap RHN clients, an activation key or keys"
echo "
echo "
echo "
exit 1
fi
if [ $REGISTER_THIS_BOX -eq 1 ] ; then
echo "* registering"
/usr/sbin/rhnreg_ks --force --activationkey "$ACTIVATION_KEYS"
echo
echo "*** this system should now be registered, please verify ***"
echo
else
echo "* explicitely not registering"
fi
echo
echo "OTHER ACTIONS"
echo "------------------------------------------------------"
if [ $FULLY_UPDATE_THIS_BOX -eq 1 ] ; then
echo "up2date up2date; up2date -p; up2date -uf (conditional)"
else
echo "up2date up2date; up2date -p"
fi
echo "but any post configuration action can be added here.
echo "------------------------------------------------------"
if [ $FULLY_UPDATE_THIS_BOX -eq 1 ] ; then
echo "* completely updating the box"
else
echo "* ensuring up2date itself is updated"
fi
/usr/sbin/up2date up2date
/usr/sbin/up2date -p
if [ $FULLY_UPDATE_THIS_BOX -eq 1 ] ; then
/usr/sbin/up2date -uf
fi
echo "-bootstrap complete-"
must be created in the RHN web user interface, and the"
corresponding key or keys string (XKEY,YKEY,...) must be maped to"
the ACTIVATION_KEYS variable of this script."
Appendix A. Sample Bootstrap Script
"

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETWORK 3.7 - CLIENT and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents