How to register SLE 10/11 using the command line

  • 3030847
  • 07-Nov-2007
  • 30-Apr-2012

Environment

Novell SUSE Linux Enterprise Server 11
Novell SUSE Linux Enterprise Server 10
Novell SUSE Linux Enterprise Desktop 11
Novell SUSE Linux Enterprise Desktop 10
Novell Open Enterprise Server 2 (OES 2) Linux

Situation

Registration through a command line utility is needed because registering (or activating) the system through YaST (Software -> Novell Customer Center Configuration) is not working or a command line solution is required.

Resolution

suse_register is the application that is being called from YaST2 to register the system with Novell's Customer Center.
 
The following are examples of the "suse_register" command to perform the registration:

For SLED 10/11:

suse_register -a regcode-sled=YourActivationCode -a email=YourEmailAddress -L /root/.suse_register.log

For SLES 10/11:

suse_register -a regcode-sles=YourActivationCode -a email=YourEmailAddress -L /root/.suse_register.log
 
For OES2 (including SLES10 base registration):
          suse_register -a regcode-sles=YourActivationCode -a regcode-oes=YourActivationCode -a email=YourEmailAddress -L /root/.suse_register.log

If the system name needs to be provided too add the option "-a moniker=NAME" to the command.

Additional Information

suse_register --help will list all available options.
 
to get debug for problems:
 
suse_register -d 3 -a regcode-sles=YourActivationCode -a email=YourEmailAddress -L suse_register-d3.log

suse_register is located in the /usr/bin directory and provided by the package suseRegister.

Change Log

2011-03-03       mlatimer    Added SLE-11
2009-06-18       swehnert    Added -a moniker option
2009-03-18       fhassel       Added the logfile parameter

Feedback service temporarily unavailable. For content questions or problems, please contact Support.