8.7 Registration

To get technical support and product updates, you need to register and activate your product with the SUSE Customer Center or a local registration server. Registering SUSE Linux Enterprise Server at this stage also grants you immediate access to the update repository. This enables you to install the system with the latest updates and patches available.

When registering, repositories and dependencies for the modules and extensions, which you may install with the next step, are loaded from the registration server.

If you are offline or want to skip registration, activate Skip Registration. See Section 8.7.3, Installing without Registration for instructions.

8.7.1 Registering Manually

To register with the SUSE Customer Center, enter your Registration Code for SUSE Linux Enterprise Server. If your organization provides a local registration server, you may alternatively register there. Activate Register System via local RMT Server and either choose a URL from the drop-down box or type in an address. Start the registration process with Next.

Figure 8-6 SUSE Customer Center Registration

SUSE Customer Center Registration

HINT: Installing Product Patches at Installation Time

After SUSE Linux Enterprise Server has been successfully registered, you are asked whether to install the latest available online updates during the installation. If choosing Yes, the system will be installed with the most current packages without having to apply the updates after installation. Activating this option is recommended.

If the system was successfully registered during installation, YaST will disable repositories from local installation media such as CD/DVD or flash disks when the installation has been completed. This prevents problems if the installation source is no longer available and ensures that you always get the latest updates from the online repositories.

8.7.2 Loading Registration Codes from USB Storage

To make the registration more convenient, you can also store your registration codes on a USB storage device such as a flash disk. YaST will automatically pre-fill the corresponding text box. This is particularly useful when testing the installation or if you need to register many systems or extensions.

Create a file named regcodes.txt or regcodes.xml on the USB disk. If both are present, the XML takes precedence.

In that file, identify the product with the name returned by zypper search --type product and assign it a registration code as follows:

Example 8-1 regcodes.txt

SLES    cc36aae1
SLED    309105d4

sle-we  5eedd26a
sle-live-patching 8c541494

Example 8-2 regcodes.xml

<?xml version="1.0"?>
<profile xmlns="http://www.suse.com/1.0/yast2ns"
    <addons config:type="list">

Note that SLES and SLED are not extensions, but listing them as add-ons allows for combining several base product registration codes in a single file. See Section 4.3.1, Extensions, (↑AutoYaST Guide) for details.

NOTE: Limitations

Currently flash disks are only scanned during installation or upgrade, but not when registering a running system.

8.7.3 Installing without Registration

To install the system without registration activate Skip Registration. Accept the warning with OK and proceed with Next. The installation follows the same workflow as when registering, only the step for choosing the modules and extensions differs.

Figure 8-7 Installing without Registration

Installing without Registration

NOTE: Registering SUSE Linux Enterprise Server

Your system and extensions need to be registered to retrieve updates and to be eligible for support. If you do not register during the installation, you can do so at any time later from the running system. To do so, run YaST > Product Registration.

If you perform an installation without connecting to a registration server, you cannot register your system during the installation. Therefore you cannot receive the repository configuration for modules and extensions from the registration server. To enable a regular installation, SUSE offers a second installation medium, the SLE-15-SP1-Packages image.

To perform the installation without registration, make sure the contents of the SLE-15-SP1-Packages image can be accessed during the installation. This can be achieved by copying it to a local hard disk or a removable flash disk or by making it available in the local network. Choose a method that is supported by your hardware.

HINT: Copying Data from the SLE-15-SP1-Packages Image to a Removable Flash Disk

To copy the contents of the image available on a removable flash disk, use the following command.

tux > sudo dd if=PATH_TO_IMAGE
    of=FLASH_STORAGE_PARTITION bs=4M && sync

PATH_TO_IMAGE needs to be replaced with the relative or absolute path to this image file. FLASH_STORAGE_PARTITION needs to be replaced with the path to a partition on the flash device (usually there is just one). To identify the device, and its partition(s), insert it and use the commands shown in the example below:

root # grep -Ff <(hwinfo --disk --short) <(hwinfo --usb --short)
  /dev/sdc             General USB Flash Disk
root # fdisk -l /dev/sdc | grep -e "^/dev"
/dev/sdc1  *     2048 31490047 31488000  15G 83 Linux

In this case the command to use would be for example:

dd if=/tmp/SLE-15-SP1-Packages-x86_64-DVD1.iso \
 of=/dev/sdc1 bs=4M && sync

Make sure a partition with sufficient size (6 GB or more) exists on the device. It also must not be mounted when running the dd command. Note that all data on the partition will be erased!