-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
Description: Add Icon file for the RHEL WSL release tarball for display within the WSL application.
Reason: To help users differentiate between multiple Windows Subsystem for Linux distros if one of those happen to be a RHEL instance
Details for the standard file:
LINK:
https://learn.microsoft.com/en-us/windows/wsl/build-custom-distro
Custom Build file for a WWSL ( basically a tar ball )
Add the WSL distribution configuration file
The distribution configuration file, /etc/wsl-distribution.conf, defines how the Linux distribution should be configured when first launched by the user. This file can be used to interactively create a user account, show a license agreement, etc.
Here is a sample /etc/wsl-distribution.conf file:
Bash
- /etc/wsl-distribution.conf
[oobe]
command = /etc/oobe.sh
defaultUid = 1000
defaultName = my-distro
[shortcut]
enabled = true
icon = /usr/lib/wsl/my-icon.ico
[windowsterminal]
enabled = true
ProfileTemplate = /usr/lib/wsl/terminal-profile.json
So we would need a simple /etc/wsl-distribution.conf file for the WLS builds
EXAMPLE:
File Contents of: /etc/wsl-distribution.conf
Note: this file in the tarball
[shortcut]
enabled = true
icon = /usr/lib/wsl/rhel.ico
So likely whomever packages the images would need to add this to their build script.
Article Link:
How is Red Hat Enterprise Linux (RHEL) supported on Microsoft Windows Subsystem for Linux (WSL)?
https://access.redhat.com/articles/7115538
Reported by user affecting RHEL 10 WLS image downloaded from here:
https://access.redhat.com/downloads/content/479/ver=/rhel---10/10.0/x86_64/product-software
- depends on
-
RHEL-93661 Provide a fedora-logo.ico file for usage in WSL
-
- Release Pending
-
- duplicates
-
HMS-8561 Add Display Icons for RHEL releases through the WWSL/WSL2 system Images
-
- Closed
-