I followed the direction in the getting started guide and I am having trouble. Only different is that I am not registering the client we created in the guide. I am registering a client in my job's staging environment.

I ran the command: cat bootstrap-sles12-sp1.sh \ | ssh user@123.456.789.123 "sudo su - root"

The above was done because the user I am using has root priv and it isn't just the root user. Then the output I get is this:

cat: ' ': No such file or directory
Password:
Password:
SUSE Manager Server Client bootstrap script v4.0


MINOR MANUAL EDITING OF THIS FILE MAY BE REQUIRED!

If this bootstrap script was created during the initial installation
of a SUSE Manager Server, the ACTIVATION_KEYS, and ORG_GPG_KEY values will
probably *not* be set (see below). If this is the case, please do the
following:
- copy this file to a name specific to its use.
(e.g., to bootstrap-SOME_NAME.sh - like bootstrap-web-servers.sh.)
- on the website create an activation key or keys for the system(s) to
be registered.
- edit the values of the VARIABLES below (in this script) as
appropriate:
- ACTIVATION_KEYS needs to reflect the activation key(s) value(s)
from the website. XKEY or XKEY,YKEY
Please note that if you are using this script to boostrap minions,
only the FIRST activation key will be used. Multiple activation keys
are not supported with salt
- ORG_GPG_KEY needs to be set to the name(s) of the corporate public
GPG key filename(s) (residing in /srv/www/htdocs/pub) if appropriate. XKEY or XKEY,YKEY

Verify that the script variable settings are correct:
- CLIENT_OVERRIDES should be only set differently if a customized
client-config-overrides-VER.txt file was created with a different
name.
- ensure the value of HOSTNAME is correct.
- ensure the value of ORG_CA_CERT is correct.

Enable this script: comment (with #'s) this block (or, at least just
the exit below, if present)

hostname: Name or service not known
-bash: line 139: [: ==: unary operator expected

UPDATING RHN_REGISTER/UP2DATE CONFIGURATION FILES
-------------------------------------------------
* downloading necessary files
client_config_update.py...
2018-04-05 08:15:34 URL:https://af3a1susmgmt01n.domain.com/p...nfig_update.py [6483/6483] -> "client_config_update.py" [1]
FINISHED --2018-04-05 08:15:34--
Total wall clock time: 0.04s
Downloaded: 1 files, 6.3K in 0s (158 MB/s)
client-config-overrides.txt...
2018-04-05 08:15:34 URL:https://af3a1susmgmt01n.domain.com/p...-overrides.txt [649/649] -> "client-config-overrides.txt" [1]
FINISHED --2018-04-05 08:15:34--
Total wall clock time: 0.03s
Downloaded: 1 files, 649 in 0s (390 MB/s)

PREPARE GPG KEYS AND CORPORATE PUBLIC CA CERT
-------------------------------------------------
* no organizational GPG keys to import

* attempting to install corporate public CA cert
2018-04-05 08:15:34 URL:https://af3a1susmgmt01n.domain.com/p...0-1.noarch.rpm [9495/9495] -> "rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm" [1]
FINISHED --2018-04-05 08:15:34--
Total wall clock time: 0.03s
Downloaded: 1 files, 9.3K in 0s (56.1 MB/s)
Preparing... ########################################
Updating / installing...
rhn-org-trusted-ssl-cert-1.0-1 ########################################

CHECKING THE REGISTRATION STACK
-------------------------------------------------
* check for necessary packages being installed...
* client codebase is sle-12-sp1
package spacewalk-check is not installed
package spacewalk-client-setup is not installed
package spacewalk-client-tools is not installed
package zypp-plugin-spacewalk is not installed
https://af3a1susmgmt01n.domain.com/p...ta/repomd.xml:
2018-04-05 08:15:36 ERROR 404: Not Found.
Bootstrap repo 'https://af3a1susmgmt01n.domain.com/pub/repositories/sle/12/1/bootstrap' does not exist.
* going to install missing packages...
/repodata/repomd.xml: Scheme missing.
Bootstrap repo '' does not exist.
Repository 'susemanager:bootstrap' not found by its alias, number, or URI.
Use 'zypper repos' to get the list of defined repositories.
Warning: Specified repositories are not enabled or defined.
Use 'zypper addrepo' or 'zypper modifyrepo' commands to add or enable repositories.
Refreshing service 'SUSE_Linux_Enterprise_Server_for_SAP_Applications _12_SP1_x86_64'.
Loading repository data...
Reading installed packages...
'spacewalk-check' not found in package names. Trying capabilities.
'spacewalk-client-setup' not found in package names. Trying capabilities.
'spacewalk-client-tools' not found in package names. Trying capabilities.
'zypp-plugin-spacewalk' not found in package names. Trying capabilities.
No provider of 'spacewalk-check' found.
No provider of 'spacewalk-client-setup' found.
No provider of 'spacewalk-client-tools' found.
No provider of 'zypp-plugin-spacewalk' found.
package spacewalk-check is not installed
ERROR: Failed to install all missing packages.



Any tips there?