Skip to content

gce: ensure disk images are GiB-aligned - #2655

Merged
achilleas-k merged 1 commit into
osbuild:mainfrom
supakeen:gce-gib
Sep 4, 2026
Merged

achilleas-k merged 1 commit into
osbuild:mainfrom
supakeen:gce-gib

Conversation

@supakeen

@supakeen supakeen commented Sep 4, 2026

Copy link
Copy Markdown
Member

GCP requires disk files to be aligned to a GiB boundary. Add a disk_image_gib_aligned flag to ImageTypeYAML and enable it for all GCE image type definitions.

Closes: #2413

GCP requires disk files to be aligned to a GiB boundary. Add a
disk_image_gib_aligned flag to ImageTypeYAML and enable it for all
GCE image type definitions.

Closes: osbuild#2413

Signed-off-by: Simon de Vlieger <[email protected]>

@avitova avitova 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.

I'd probably name it with something like _required. If I understood the reasoning correctly.

@achilleas-k
achilleas-k added this pull request to the merge queue Sep 4, 2026
Merged via the queue into osbuild:main with commit 6e376fd Sep 4, 2026
54 checks passed
@supakeen
supakeen deleted the gce-gib branch September 17, 2026 08:02
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.

gce image type: disk.raw not guaranteed to be GiB-aligned, causing GCP import failures (HMS-11022)

3 participants