How to register lxc containers against SUSE Manager
This document (7014408) is provided subject to the disclaimer at the end of this document.
SUSE Linux Enterprise Server 11 Service Pack 2 (SLES 11 SP2)
SUSE Linux Enterprise Server 11 Service Pack 1 (SLES 11 SP1)
Registration however fails:
# /usr/sbin/rhnreg_ks --activationkey enter_your_key --serverUrl suse_manager_instance
An unexpected OS error occurred: [Errno 2] No such file or directory: '/etc/products.d/baseproduct'
However, registration can be done with a few tweaks
* a missing symlink to fix the errormessage above and
* removing the systemid as shown below (mandatory!):
# cd /etc/products.d/
# ln -s SUSE_SLES.prod baseproduct
# rm /etc/sysconfig/rhn/systemid
After these two steps registration succeeds.
Note: Make sure to remove the systemid file, if the systemid is identical to an already registered host, the lxc container would get registered instead of the original host.
As of January 2014 it's neither accepted nor rejected yet.
This TID gets updated once there's a decision.
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7014408
- Creation Date: 14-Jan-2014
- Modified Date:03-Mar-2020
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: email@example.com