Skip to content

Support default images for image mode in virtual provisioner #22

@thrix-bot

Description

@thrix-bot

When using image mode with the virtual provisioner, users currently need to specify a full image URL. It would be useful to support a simpler interface where the user can enable image mode and have tmt automatically pick the image mode variant of whatever default/short-name image is being used.

For example, instead of requiring a full qcow2 URL, users could write:

provision:
    how: virtual
    image_mode: true

and tmt would translate the default image (e.g., fedora-rawhide) to its image mode variant automatically.

This would make it easier for users to opt into image mode without needing to know the exact image URLs, similar to how short-name images already work for regular virtual provisioning.


Origin: teemtee/tmt#4719 (comment) (suggestion by @LecrisUT)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    backlog

    Status

    triaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions