Skip to content

docs: add WSL install instructions to README - #18247

Open
mfrw wants to merge 3 commits into
4.0from
mfrw/wsl-docs
Open

docs: add WSL install instructions to README#18247
mfrw wants to merge 3 commits into
4.0from
mfrw/wsl-docs

Conversation

@mfrw

@mfrw mfrw commented Jul 29, 2026

Copy link
Copy Markdown
Member

Azure Linux 4 now publishes a .wsl distribution package alongside the
Azure VM, container, and ISO artifacts, but the README had no pointer to
it. Add a "Using Azure Linux" section covering the per-architecture
download links and the wsl commands to install, list, and enter the
distro.

The distro name in wsl -d AzureLinux-4 matches what wsl-setup derives
at install time from /etc/os-release ("${NAME// /}-${VERSION_ID%.*}"),
which resolves to AzureLinux-4 for Azure Linux 4.0.

Signed-off-by: Muhammad Falak R Wani falakreyaz@gmail.com

Azure Linux 4 now publishes a .wsl distribution package alongside the
Azure VM, container, and ISO artifacts, but the README had no pointer to
it. Add a "Using Azure Linux" section covering the per-architecture
download links and the wsl commands to install, list, and enter the
distro.

The distro name in `wsl -d AzureLinux-4` matches what wsl-setup derives
at install time from /etc/os-release ("${NAME// /}-${VERSION_ID%.*}"),
which resolves to AzureLinux-4 for Azure Linux 4.0.

Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
Copilot AI review requested due to automatic review settings July 29, 2026 05:56
@mfrw
mfrw requested a review from a team as a code owner July 29, 2026 05:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Azure Linux 4 WSL download and usage instructions.

Changes:

  • Adds x86_64 and ARM64 .wsl download links.
  • Documents installation, listing, and launch commands.
  • Removes trailing whitespace.

Comment thread README.md
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
Copilot AI review requested due to automatic review settings July 30, 2026 07:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@mfrw mfrw closed this Jul 30, 2026
@mfrw mfrw reopened this Jul 30, 2026
Add the equivalent document for WSL and link it from the WSL section of
the README.

The new doc mirrors the ISO one: a per-architecture bash block that
verifies the checksum file against the Azure Linux RPM signing key, then
checks the package against that checksum. A PowerShell section covers the
common case of downloading on Windows with no WSL distro available yet;
it is driven by a single $Arch variable so one block serves both
architectures.

Downloads use the versioned aka.ms shortlinks rather than the earlier
unversioned wslazlinux-<arch> links, matching the naming already used for
the ISO. The versioned form lets 4.0 and future releases coexist instead
of repointing a single link. The README download links are switched over
for the same reason.

wget saves a redirected download under the shortlink basename, so
CHECKSUM_FILE and SIGNATURE_FILE use the shortlink names. The package
download needs an explicit -O because the checksum file records the
package as AzureLinux-4.0-<arch>.wsl, whose casing differs from the
lowercase shortlink; without it sha256sum --check fails to find the file.

Verified end to end through the live aka.ms links for both architectures:
signatures report a good signature from the Mariner RPM Release Signing
key and both packages pass sha256sum --check. The PowerShell block was
run on PowerShell 7.6.4 for both values of $Arch. Corrupting a package
was confirmed to fail the check in both the bash and PowerShell paths.

Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
Copilot AI review requested due to automatic review settings July 31, 2026 04:57
@mfrw mfrw closed this Jul 31, 2026
@mfrw mfrw reopened this Jul 31, 2026
@mfrw
mfrw requested review from reubeno and tobiasb-ms July 31, 2026 04:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants