[windows-2022, ubuntu-22.04] Change to Generation 2 VM - #13521
Merged
shamil-mubarakshin merged 1 commit intoJan 12, 2026
Conversation
Contributor
There was a problem hiding this comment.
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-Datacenterto2022-Datacenter-g2 - Updated Ubuntu 22.04 marketplace SKU from
22_04-ltsto22_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) |
maxim-lobanov
approved these changes
Jan 12, 2026
|
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? |
Contributor
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
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.
Description
This PR changes
windows-2022andubuntu-22.04to produce Generation 2 VMsRelated issue:
Check list