feat: windows base version update & script to do it manually#8315
Merged
timmy-wright merged 4 commits intomainfrom Apr 15, 2026
Merged
feat: windows base version update & script to do it manually#8315timmy-wright merged 4 commits intomainfrom
timmy-wright merged 4 commits intomainfrom
Conversation
djsly
approved these changes
Apr 15, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Updates Windows VHD base image versions and adds a helper script/Makefile target to refresh those versions via Azure CLI queries.
Changes:
- Bumped multiple
base_image_versionvalues inwindows_settings.json. - Added
update_windows_base_versions.shto query the latest Azure Marketplace image versions and optionally update the settings file. - Added a
make update-windows-base-versionstarget to run the script.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| vhdbuilder/packer/windows/windows_settings.json | Updates pinned Windows base image versions used by the VHD builder. |
| vhdbuilder/packer/windows/update_windows_base_versions.sh | Adds a manual script to query Azure Marketplace and update base_image_version entries. |
| Makefile | Adds a convenience target to run the new update script. |
Comments suppressed due to low confidence (1)
vhdbuilder/packer/windows/update_windows_base_versions.sh:1
- Suppressing
azstderr (2>/dev/null) combined with|| trueobscures actionable failures (e.g., not logged in, missing subscription/permissions, CLI argument errors). Consider preserving and surfacing errors (e.g., capture stderr and print it whenlatest_versionis empty) so operators can distinguish 'no versions found' from 'query failed'.
#!/bin/bash
c82a65a to
99c0e90
Compare
awesomenix
approved these changes
Apr 15, 2026
Contributor
Changes cached containers or packages on windows VHDsPlease get a Windows SIG member to approve. The following dif file shows any additions or deletions from what will be cached on windows VHDs organised by VHD type.
diff --git a/vhd_files/2022-containerd-gen2.txt b/vhd_files/2022-containerd-gen2.txt
index 4573534..27d2313 100644
--- a/vhd_files/2022-containerd-gen2.txt
+++ b/vhd_files/2022-containerd-gen2.txt
@@ -147 +147 @@ Windows 2022-containerd-gen2 base image sku: 2022-datacenter-core-smalldisk-g2
-Windows 2022-containerd-gen2 base version: 20348.4893.260303
+Windows 2022-containerd-gen2 base version: 20348.5020.260413
diff --git a/vhd_files/2022-containerd.txt b/vhd_files/2022-containerd.txt
index e93d818..9988c5f 100644
--- a/vhd_files/2022-containerd.txt
+++ b/vhd_files/2022-containerd.txt
@@ -147 +147 @@ Windows 2022-containerd base image sku: 2022-Datacenter-Core-smalldisk
-Windows 2022-containerd base version: 20348.4893.260303
+Windows 2022-containerd base version: 20348.5020.260413
diff --git a/vhd_files/2025-gen2.txt b/vhd_files/2025-gen2.txt
index e4770d4..efe2d52 100644
--- a/vhd_files/2025-gen2.txt
+++ b/vhd_files/2025-gen2.txt
@@ -80 +80 @@ Windows 2025-gen2 base image sku: 2025-datacenter-core-smalldisk-g2
-Windows 2025-gen2 base version: 26100.32522.260306
+Windows 2025-gen2 base version: 26100.32690.260413
diff --git a/vhd_files/2025.txt b/vhd_files/2025.txt
index 264826e..3f82530 100644
--- a/vhd_files/2025.txt
+++ b/vhd_files/2025.txt
@@ -80 +80 @@ Windows 2025 base image sku: 2025-datacenter-core-smalldisk
-Windows 2025 base version: 26100.32522.260306
+Windows 2025 base version: 26100.32690.260413
diff --git a/vhd_files/23H2-gen2.txt b/vhd_files/23H2-gen2.txt
index 9611e11..eaf98bb 100644
--- a/vhd_files/23H2-gen2.txt
+++ b/vhd_files/23H2-gen2.txt
@@ -95 +95 @@ Windows 23H2-gen2 base image sku: 23h2-datacenter-core-g2
-Windows 23H2-gen2 base version: 25398.2207.260303
+Windows 23H2-gen2 base version: 25398.2274.260411
diff --git a/vhd_files/23H2.txt b/vhd_files/23H2.txt
index 5219b4d..d194cfa 100644
--- a/vhd_files/23H2.txt
+++ b/vhd_files/23H2.txt
@@ -95 +95 @@ Windows 23H2 base image sku: 23h2-datacenter-core
-Windows 23H2 base version: 25398.2207.260303
+Windows 23H2 base version: 25398.2274.260411 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com Co-authored-by: Copilot 175728472+Copilot@users.noreply.github.com
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #