azurelinux
azurelinux copied to clipboard
Add the cloud-utils-growpart package to the cloud-init package list.
Merge Checklist
All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)
- [x] The toolchain has been rebuilt successfully (or no changes were made to it)
- [x] The toolchain/worker package manifests are up-to-date
- [x] Any updated packages successfully build (or no packages were changed)
- [x] Packages depending on static components modified in this PR (Golang,
*-staticsubpackages, etc.) have had theirReleasetag incremented. - [x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
- [x] All package sources are available
- [x] cgmanifest files are up-to-date and sorted (
./cgmanifest.json,./toolkit/scripts/toolchain/cgmanifest.json,.github/workflows/cgmanifest.json) - [x] LICENSE-MAP files are up-to-date (
./SPECS/LICENSES-AND-NOTICES/data/licenses.json,./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md,./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON) - [x] All source files have up-to-date hashes in the
*.signatures.jsonfiles - [x]
sudo make go-tidy-allandsudo make go-test-coveragepass - [x] Documentation has been updated to match any changes to the build system
- [x] If you are adding/removing a .spec file that has multiple-versions supported, please add @microsoft/cbl-mariner-multi-package-reviewers team as reviewer (Eg. golang has 2 versions 1.18, 1.21+)
- [x] Ready to merge
Summary
cloud-utils-growpart is necessary for container host scenarios where the image is distributed with minimal free diskspace but then it is expected to expand on deployment. The expansion is powered by cloud-utils-growpart which enables cloud-init to grow the partitions on the first boot. This change added the cloud-utils-growpart package to the cloud-init list since it's almost always that we want both to be installed together.
Change Log
Does this affect the toolchain?
NO
Associated issues
Links to CVEs
- No
Test Methodology
- Build baremetal image locally.
- Using qemu-img, converted the vhdx to qcow2, and resize the disk.
- Created a VM and attached cloud-init data.
- Booted the image and verified that the root partition has been expanded.