Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-8562

Add Icons for RHEL releases on WSL images

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Image Builder
    • None
    • Image Builder 4
    • 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

      1. /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

       

              rh-ee-sdevlieg Simon de Vlieger
              rhn-support-mkielian Meredith Kielian
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: