Skip to content

[windows-2025, ubuntu-24.04] Change to Generation 2 VM - #13543

Merged
shamil-mubarakshin merged 1 commit into
actions:mainfrom
shamil-mubarakshin:u24-w25-change-gen2
Jan 16, 2026
Merged

[windows-2025, ubuntu-24.04] Change to Generation 2 VM#13543
shamil-mubarakshin merged 1 commit into
actions:mainfrom
shamil-mubarakshin:u24-w25-change-gen2

Conversation

@shamil-mubarakshin

Copy link
Copy Markdown
Contributor

Description

This PR changes windows-2025 and ubuntu-24.04 to produce Generation 2 VMs

Related issue:

Check list

  • Related issue / work item is attached
  • Tests are written (if applicable)
  • Documentation is updated (if applicable)
  • Changes are tested and related VM images are successfully generated

Copilot AI review requested due to automatic review settings January 16, 2026 13:27
@shamil-mubarakshin
shamil-mubarakshin merged commit 0c13109 into actions:main Jan 16, 2026
7 checks passed
@shamil-mubarakshin
shamil-mubarakshin deleted the u24-w25-change-gen2 branch January 16, 2026 13:30

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

This PR updates the Azure Marketplace SKU references for Windows Server 2025 and Ubuntu 24.04 to use Generation 2 VM images instead of Generation 1. For Windows 2025, the SKU changes from 2025-Datacenter to 2025-Datacenter-g2, explicitly specifying Gen2. For Ubuntu 24.04, the SKU changes from server-gen1 to server, which is the canonical default Generation 2 SKU for Ubuntu 24.04 LTS.

Changes:

  • Updated Windows Server 2025 to use the -g2 SKU suffix for Generation 2 VM support
  • Updated Ubuntu 24.04 to use the default server SKU (Generation 2) instead of server-gen1

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
images/windows/templates/locals.windows.pkr.hcl Changed Windows 2025 marketplace SKU to use Generation 2 variant with -g2 suffix
images/ubuntu/templates/locals.ubuntu.pkr.hcl Changed Ubuntu 24.04 marketplace SKU from server-gen1 to server for Generation 2 support

@@ -5,7 +5,7 @@ locals {
os_disk_size_gb = 75
},
"ubuntu24" = {

Copilot AI Jan 16, 2026

Copy link

Choose a reason for hiding this comment

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

The Ubuntu 24.04 SKU naming convention differs from Ubuntu 22.04. Ubuntu 22.04 uses the format 'canonical:0001-com-ubuntu-server-jammy:22_04-lts-gen2' with an explicit '-gen2' suffix, while Ubuntu 24.04 uses 'canonical:ubuntu-24_04-lts:server'. Consider adding a comment explaining that 'server' is the Generation 2 variant for Ubuntu 24.04 to maintain consistency with the explicit Gen2 naming used for Ubuntu 22.04 and to clarify the PR's intent.

Suggested change
"ubuntu24" = {
"ubuntu24" = {
// For Ubuntu 24.04, the 'server' SKU corresponds to the Generation 2 image (analogous to the '-gen2' suffix used for Ubuntu 22.04).

Copilot uses AI. Check for mistakes.
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