microsoft / microsoft/shell-intune-samples
IntuneWSLPluginInstaller - WSL distro not recognized
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 1.1k
- Forks
- 305
- PR merge metrics
- No merged PRs in 30d
Description
We wanne use the IntuneWSLPluginInstaller for our company devices to allowed only allowed distributions. Now we have an distribution NixOS. It has also the information in /etc/os-release but it would not be recognized. Another distribution like debian or ubuntu works.
The /etc/os-release looks like:
ANSI_COLOR="0;38;2;126;186;228"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="25.05.20250724.3ff0e34"
CPE_NAME="cpe:/o:nixos:nixos:25.05"
DEFAULT_HOSTNAME=nixos
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
ID_LIKE=""
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 25.05 (Warbler)"
SUPPORT_END="2025-12-31"
SUPPORT_URL="https://nixos.org/community.html"
VARIANT=""
VARIANT_ID=""
VENDOR_NAME=NixOS
VENDOR_URL="https://nixos.org/"
VERSION="25.05 (Warbler)"
VERSION_CODENAME=warbler
VERSION_ID="25.05"
Where is the issue that this distribution is not recognized?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the IntuneWSLPluginInstaller entry point and its handling of /etc/os-release, then compare the NixOS values in this issue with the Debian and Ubuntu cases. Done means NixOS is recognized and can be handled by the allowed-distribution configuration without regressing the existing distributions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, linux
- Domain
- operating-systems, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100