-
Notifications
You must be signed in to change notification settings - Fork 8
Custom Products in WSL System
Ladislav Slezák edited this page Oct 21, 2022
·
4 revisions
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.
Note: This requires yast2-firstboot-wsl
>= 4.4.10 or >= 4.5.4. and
yast2-registration
>= 4.4.23 or >= 4.5.6.
- Install the
yast2-firstboot-wsl
package - Make sure the
firstboot_wsl_product_selection
andregistration
steps are enabled in/etc/YaST2/firstboot-wsl.xml
file (they are by default)
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.
- JIRA feature: https://jira.suse.com/browse/PED-1380
- Implementation PR: yast-registration#581, yast-firstboot#140