Repository navigation
test/images with tailor [10]: add shared VM assets and GRUB scenarios - #904
Draft
bfjelds (bfjelds) wants to merge 1 commit into
Draft
bfjelds (bfjelds) wants to merge 1 commit into
bfjelds (bfjelds) wants to merge 1 commit into
Conversation
Introduce shared VM image assets and the GRUB base/update scenarios. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 6501a6e2-9ece-44f9-a91a-4d8e0c0e6d07
|
Azure Pipelines: 1 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
This was referenced Oct 26, 2026
This was referenced Oct 26, 2026
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Image creation, VM adoption, and A/B boot behavior need human confirmation of runtime validation, despite no blocking defects identified in static review.
No open issues 🎉
What changed in this PR
Adds the VM test-image family to the parallel Tailor workspace as part 10 of the migration stack. This step exposes only the GRUB base and update scenarios; later PRs add verity and ACL-agent scenarios.
Changes:
- Defines dual-slot A/B QCOW2 base images and single-slot COSI update images, with an ARM64 update variant.
- Adds shared VM scripts and services for initialization, SSH, networking, and writable overlays.
- Registers the image family and documents build commands.
| File | Description |
|---|---|
tests/tailor-images/trident-vm-testimage/README.md |
Documents VM image purpose and builds. |
tests/tailor-images/trident-vm-testimage/include/storage-grub.yaml |
Defines dual-slot base storage. |
tests/tailor-images/trident-vm-testimage/include/storage-grub-update.yaml |
Defines single-slot update storage. |
tests/tailor-images/trident-vm-testimage/include/grub-scripts.yaml |
Lists update customization scripts. |
tests/tailor-images/trident-vm-testimage/include/grub-base-scripts.yaml |
Lists base initialization scripts. |
tests/tailor-images/trident-vm-testimage/image.yaml |
Defines scenarios, architectures, and dependencies. |
tests/tailor-images/trident-vm-testimage/by-scenario/grub.yaml |
Configures GRUB COSI updates. |
tests/tailor-images/trident-vm-testimage/by-scenario/grub-base.yaml |
Configures GRUB QCOW2 base images. |
tests/tailor-images/trident-vm-testimage/by-arch/arm64.yaml |
Selects the ARM64 base and COSI output. |
tests/tailor-images/trident-vm-testimage/base/scripts/update-os-release.sh |
Sets a date-based OS version. |
tests/tailor-images/trident-vm-testimage/base/scripts/update-host-status.sh |
Runs offline Trident initialization. |
tests/tailor-images/trident-vm-testimage/base/scripts/ssh-move-host-keys.sh |
Points SSH at persistent host keys. |
tests/tailor-images/trident-vm-testimage/base/scripts/prepare-update-config.sh |
Creates the regular update configuration. |
tests/tailor-images/trident-vm-testimage/base/scripts/prepare-update-config-verity.sh |
Adds shared verity update preparation. |
tests/tailor-images/trident-vm-testimage/base/scripts/prepare-update-config-usrverity.sh |
Adds shared usr-verity update preparation. |
tests/tailor-images/trident-vm-testimage/base/scripts/post-install.sh |
Creates the audit-log directory. |
tests/tailor-images/trident-vm-testimage/base/scripts/lsblk.sh |
Reports block-device details as JSON. |
tests/tailor-images/trident-vm-testimage/base/scripts/duid-type-to-link-layer.sh |
Selects link-layer DHCP identifiers. |
tests/tailor-images/trident-vm-testimage/base/scripts/create-ssh-dirs.sh |
Creates persistent SSH storage. |
tests/tailor-images/trident-vm-testimage/base/scripts/create-rw-overlay-dirs.sh |
Creates writable-overlay directories. |
tests/tailor-images/trident-vm-testimage/base/files/sshd-keygen.service |
Generates SSH host keys under /srv. |
tests/tailor-images/trident-vm-testimage/base/files/etc-mount.sh |
Mounts the writable /etc overlay. |
tests/tailor-images/trident-vm-testimage/base/files/etc-mount.service |
Orders overlay mounting during boot. |
tests/tailor-images/trident-vm-testimage/base/files/etc-mount-mic.service |
Mounts the overlay and commits machine identity. |
tests/tailor-images/trident-vm-testimage/base/files/99-dhcp-eth0.network |
Enables DHCP on eth0. |
tests/tailor-images/trident-vm-testimage/base/files/.gitignore |
Excludes generated configuration and SSH inputs. |
tests/tailor-images/trident-vm-testimage/base/.gitignore |
Excludes generated Image Customizer configuration. |
tests/tailor-images/tailor.yaml |
Registers the VM image family. |
tests/tailor-images/README.md |
Lists the new image family. |
Review effort: Balanced
This branch has not been deployed
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.
Add shared VM assets and the grub/grub-base scenarios, exposing only scenarios present at this boundary.
Part 10 of the 16-PR Tailor migration stack. Depends on #903.
This split preserves the aggregate migration content; the original tooling, image-config, and final trees are unchanged.
Stack