Skip to content

Add support for specifying vmdk subformat when building vmdk format #1098

@rioM1

Description

@rioM1

Currently, it looks like bootc-image-builder is locked into building streamOptimized subformat for vmdk, which would normally be fine if the use cases are restricted to vSphere and such.
However, VMWare Workstation has a long-standing bug (10+ years counting) with running streamOptimized disks on certain systems. On boot, the affected system reports a write error when loading the disk.
In these cases, the vmdk file needs to be converted to one of the following subformats: monolithicSparse, twoGbMaxExtentSparse, and monolithicFlat.

Also, as an aside, I see that there is a way to generate a manifest using bootc-image-builder manifest but I don't see a document on how to continue the build on the generated manifest using bootc-image-builder (like described in osbuild doc) ?
Until the enhancement is implemented, I was planning on manually modify the generated manifest to use monolithicSparse instead of streamOptimized subformat and run the disk build in 2 steps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions