feat(ubuntu): add Ubuntu 26.04 LTS (Resolute Raccoon) support#512
Merged
feat(ubuntu): add Ubuntu 26.04 LTS (Resolute Raccoon) support#512
Conversation
- Fix hardcoded dist in ubuntu provider's loadRepoConfig() to accept dist as a parameter, matching azl/emt/rcd provider patterns - Create config/osv/ubuntu/ubuntu26/ directory tree with config.yml, chrootenv configs, provider repo configs (plucky codename), default image configs, and additional files - Add ubuntu26 to dist enum in os-config.schema.json - Add ubuntu OS->dist constraint (ubuntu24, ubuntu26) in os-image-template.schema.json - Add ubuntu entries to GetProviderName() and GetDistroVersion() maps in config.go - Add ubuntu26-x86_64-minimal-raw.yml example image template - Add ubuntu26 test cases for provider init, name, and repo config - Add ubuntu24/ubuntu26 to TestAllSupportedProviders config test - Update README.md, release-notes.md, and templates documentation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new Ubuntu distro variant (ubuntu26) across config, schema, docs, and the Ubuntu provider so os-image-composer can target an additional Ubuntu release.
Changes:
- Updates Ubuntu provider repo loading to use the
distparameter (instead of a hardcodedubuntu24) and adds ubuntu26 provider tests. - Introduces
config/osv/ubuntu/ubuntu26/defaults (repo configs, chroot env configs, default image configs, additional files) plus an exampleubuntu26template. - Extends schemas/docs and config mappings to recognize
ubuntu26.
Reviewed changes
Copilot reviewed 25 out of 25 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Advertises ubuntu26 as a supported OS/dist combination. |
| internal/provider/ubuntu/ubuntu.go | Passes dist through to centralized repo config loading. |
| internal/provider/ubuntu/ubuntu_test.go | Adds/updates tests to cover ubuntu26 init/name/repo loading. |
| internal/config/schema/os-image-template.schema.json | Constrains ubuntu target to ubuntu24/ubuntu26. |
| internal/config/schema/os-config.schema.json | Adds ubuntu26 to the dist enum. |
| internal/config/config.go | Adds ubuntu24/ubuntu26 entries to provider/version maps. |
| internal/config/config_test.go | Extends supported-provider test cases for ubuntu24/ubuntu26. |
| image-templates/ubuntu26-x86_64-minimal-raw.yml | Adds an example user template targeting ubuntu26. |
| docs/release-notes.md | Mentions Ubuntu 26.04 support (currently placed under Known Issues/Opens). |
| docs/architecture/os-image-composer-templates.md | Documents ubuntu dist values as ubuntu24/ubuntu26. |
| config/osv/ubuntu/ubuntu26/providerconfigs/repo.yml | Adds base repo definition for ubuntu26. |
| config/osv/ubuntu/ubuntu26/providerconfigs/amd64_repo.yml | Adds amd64 multi-repo configuration for ubuntu26. |
| config/osv/ubuntu/ubuntu26/providerconfigs/arm64_repo.yml | Adds arm64 multi-repo configuration for ubuntu26. |
| config/osv/ubuntu/ubuntu26/imageconfigs/defaultconfigs/default-raw-x86_64.yml | Adds ubuntu26 x86_64 raw defaults. |
| config/osv/ubuntu/ubuntu26/imageconfigs/defaultconfigs/default-raw-aarch64.yml | Adds ubuntu26 aarch64 raw defaults. |
| config/osv/ubuntu/ubuntu26/imageconfigs/defaultconfigs/default-iso-x86_64.yml | Adds ubuntu26 x86_64 ISO defaults. |
| config/osv/ubuntu/ubuntu26/imageconfigs/defaultconfigs/default-initrd-x86_64.yml | Adds ubuntu26 x86_64 initrd defaults. |
| config/osv/ubuntu/ubuntu26/imageconfigs/additionalfiles/ubuntu-plucky.list | Adds apt sources list used by defaults. |
| config/osv/ubuntu/ubuntu26/imageconfigs/additionalfiles/serial-getty@.service | Adds service override for serial getty in initrd/ISO flows. |
| config/osv/ubuntu/ubuntu26/imageconfigs/additionalfiles/getty@.service | Adds service override for getty in initrd/ISO flows. |
| config/osv/ubuntu/ubuntu26/imageconfigs/additionalfiles/dhcp.network | Adds systemd-networkd DHCP config. |
| config/osv/ubuntu/ubuntu26/config.yml | Adds OSV config entries for ubuntu26 (x86_64/aarch64). |
| config/osv/ubuntu/ubuntu26/chrootenvconfigs/local.list | Adds local apt repo list (cache repo) for chroot env. |
| config/osv/ubuntu/ubuntu26/chrootenvconfigs/chrootenv_x86_64.yml | Adds essential/chroot packages for ubuntu26 x86_64. |
| config/osv/ubuntu/ubuntu26/chrootenvconfigs/chrootenv_aarch64.yml | Adds essential/chroot packages for ubuntu26 aarch64. |
Replace plucky (25.04) codename references with resolute (26.04 LTS) across all ubuntu26 config files: - Update repo configs (repo.yml, amd64_repo.yml, arm64_repo.yml) - Rename ubuntu-plucky.list to ubuntu-resolute.list - Update all default image configs referencing the sources list - Fix release-notes.md codename (Resolute Rattlesnake, not Plucky Puffin) Addresses Copilot review comments on PR #512.
kblaszczak-intel
approved these changes
Apr 15, 2026
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.
Merge Checklist
All boxes should be checked before merging the PR
Description
Add Ubuntu 26.04 (Plucky Puffin) support to os-image-composer, enabling image builds for the upcoming Ubuntu release.
Changes:
"ubuntu24"dist in ubuntu provider'sloadRepoConfig()to accept dist as a parameter, matching azl/emt/rcd provider patternsconfig/osv/ubuntu/ubuntu26/directory tree with config.yml, chrootenv configs, provider repo configs (plucky codename), default image configs, and additional filesubuntu26to dist enum inos-config.schema.jsonubuntu24,ubuntu26) inos-image-template.schema.jsonGetProviderName()andGetDistroVersion()maps inconfig.goubuntu26-x86_64-minimal-raw.ymlexample image templateTestAllSupportedProvidersconfig testAny Newly Introduced Dependencies
None.
How Has This Been Tested?
go test ./...— all pass including new ubuntu26 test casesgo build ./...andgo vet ./...— cleanubuntu26-x86_64-minimal-raw.ymltemplate (produced .raw.gz, .vhdx, and SPDX SBOM)