Environment
- SUSE Linux Enterprise Server 12
- SUSE Linux Enterprise Server 12 Service Pack 1 (SLES 12 SP1)
- SUSE Linux Enterprise Server 12 Service Pack 2 (SLES 12 SP2)
Solution:
SUSEConnect -r YourActivationCode -e YourEmailAddress --debug
To get an overview of the existing options for SUSEConnect, run "SUSEConnect --help":
SLES12:~ # SUSEConnect -help
Usage: SUSEConnect [options]
Register SUSE Linux Enterprise installations with the SUSE Customer Center.
Registration allows access to software repositories including updates,
and allows online management of subscriptions and organizations
Manage subscriptions at https://scc.suse.com
-p, --product [PRODUCT] Activate PRODUCT. Defaults to the base SUSE Linux
Enterprise product on this system.
Product identifiers can be obtained with 'zypper products'
Format: //
-r, --regcode [REGCODE] Subscription registration code for the
product to be registered.
Relates that product to the specified subscription,
and enables software repositories for that product
--instance-data [path to file]
Path to the XML file holding the public key and instance data
for cloud registration with SMT
-e, --email email address for product registration
--url [URL] URL of registration server (e.g. https://scc.suse.com).
Implies --write-config so that subsequent invocations use the same registration server.
-s, --status get current system registration status in json format
--status-text get current system registration status in text format
--write-config write options to config file at /etc/SUSEConnect