[QUOTE=malcolmlewis;18682]Hi
I didn’t enable the virtualization check box, aside from remming out
the exit 1 bit, the only other thing I changed was;
CODE]
FULLY_UPDATE_THIS_BOX=0
[/CODE]
You shouldn’t need to add the gpg keys etc
Then run on the target machine;
curl -Sks https://test.contoso.com/pub/bootstrap/bootstrap.sles11.sh | /bin/bash
–
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.2 Kernel 3.11.6-4-desktop
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks![/QUOTE]
Ok I fixed the bootstrap script and hers is the content:
echo
echo “MINOR MANUAL EDITING OF THIS FILE MAY BE REQUIRED!”
echo
echo “If this bootstrap script was created during the initial installation”
echo “of a SUSE Manager Server, the ACTIVATION_KEYS, and ORG_GPG_KEY values will”
echo “probably not be set (see below). If this is the case, please do the”
echo “following:”
echo " - copy this file to a name specific to its use."
echo " (e.g., to bootstrap-SOME_NAME.sh - like bootstrap-web-servers.sh.)"
echo " - on the website create an activation key or keys for the system(s) to"
echo " be registered."
echo " - edit the values of the VARIABLES below (in this script) as"
echo " appropriate:"
echo " - ACTIVATION_KEYS needs to reflect the activation key(s) value(s)"
echo " from the website. XKEY or XKEY,YKEY"
echo " - ORG_GPG_KEY needs to be set to the name(s) of the corporate public"
echo " GPG key filename(s) (residing in /srv/www/htdocs/pub) if appropriate. XKEY or XKEY,YKEY"
echo
echo “Verify that the script variable settings are correct:”
echo " - CLIENT_OVERRIDES should be only set differently if a customized"
echo " client-config-overrides-VER.txt file was created with a different"
echo " name."
echo " - ensure the value of HOSTNAME is correct."
echo " - ensure the value of ORG_CA_CERT is correct."
echo
echo “Enable this script: comment (with #'s) this block (or, at least just”
echo “the exit below)”
echo
#exit 1
can be edited, but probably correct (unless created during initial install):
NOTE: ACTIVATION_KEYS must be used to bootstrap a client machine.
ACTIVATION_KEYS=1-slesnew
ORG_GPG_KEY=suse-9C800ACA.key,suse-307E3D54.key
can be edited, but probably correct:
CLIENT_OVERRIDES=client-config-overrides.txt
HOSTNAME=sumgr.kardo.com
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=1
ALLOW_REMOTE_COMMANDS=1
FULLY_UPDATE_THIS_BOX=0
and I ran the command
curl -Sks https://test.contoso.com/pub/bootstrap/bootstrap.sles11.sh | /bin/bash
with no luck
REGISTRATION
- registering
Error Message:
Could not find token ‘1-slesnew’
Error Class Code: 60
Error Class Info:
The activation token specified could not be found on the server.
Please retry with a valid key.
*** Error: Registering the system failed.