Skip to content

Custom Products in WSL System

Ladislav Slezák edited this page Oct 21, 2022 · 4 revisions

Customizing Registration

You can configure custom products to register in the WSL first boot sequence. Then the users can register a different product than the installed one. The reason is to ship a single WSL image with SLES but allow registering SLES or SLED product depending on the user preference.

wsl_selection

Note: This requires yast2-firstboot-wsl >= 4.4.10 or >= 4.5.4. and yast2-registration >= 4.4.23 or >= 4.5.6.

Prerequisities

  • Install the yast2-firstboot-wsl package
  • Make sure the firstboot_wsl_product_selection and registration steps are enabled in /etc/YaST2/firstboot-wsl.xml file (they are by default)

Configuration

Then create the /etc/YaST2/products.yaml file with the list of products to register. See the registration documentation for more details.

Then enable the first boot system as usually.

Links

Clone this wiki locally