Skip to content

[windows-2022, ubuntu-22.04] Change to Generation 2 VM - #13521

Merged
shamil-mubarakshin merged 1 commit into
actions:mainfrom
shamil-mubarakshin:u22-w22-change-gen2
Jan 12, 2026
Merged

[windows-2022, ubuntu-22.04] Change to Generation 2 VM#13521
shamil-mubarakshin merged 1 commit into
actions:mainfrom
shamil-mubarakshin:u22-w22-change-gen2

Conversation

@shamil-mubarakshin

Copy link
Copy Markdown
Contributor

Description

This PR changes windows-2022 and ubuntu-22.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 12, 2026 12:20

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 migrates Windows Server 2022 and Ubuntu 22.04 runner images to Azure Generation 2 VMs by updating their marketplace SKU identifiers in the Packer configuration files.

Changes:

  • Updated Windows 2022 marketplace SKU from 2022-Datacenter to 2022-Datacenter-g2
  • Updated Ubuntu 22.04 marketplace SKU from 22_04-lts to 22_04-lts-gen2

Reviewed changes

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

File Description
images/windows/templates/locals.windows.pkr.hcl Updated Windows Server 2022 SKU to Generation 2 variant (2022-Datacenter-g2)
images/ubuntu/templates/locals.ubuntu.pkr.hcl Updated Ubuntu 22.04 SKU to Generation 2 variant (22_04-lts-gen2)

@shamil-mubarakshin
shamil-mubarakshin merged commit 0d9f87f into actions:main Jan 12, 2026
9 checks passed
@shamil-mubarakshin
shamil-mubarakshin deleted the u22-w22-change-gen2 branch January 12, 2026 12:56
@Noel-Jones

Copy link
Copy Markdown

I'm curious why thus was done. I know it is a step forward and something many people wanted - myself included - but why not for Ubuntu 24.04 too? Now I am unable to build my 22.04 image because the image definition that I have used up to now is for gen 1. Is 24.04 going to change too?

@erik-bershel

Copy link
Copy Markdown
Contributor

Is 24.04 going to change too?

Yup

Zero-dump added a commit to tunein/runner-images that referenced this pull request Feb 26, 2026
 [windows-2022, ubuntu-22.04] Change to Generation 2 VM (actions#13521) #15
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.

5 participants