Skip to content

Utilize virt-sysprep for base image creation process #329

@masayag

Description

@masayag

Today, image created by imagefactory has to be sealed by providing the 'sealing' instructions as post commands.
However, virt-sysprep already supports sealing an image with various options [1](i.e. remove ssh keys, remove mac address).

imagefactory can support such functionality by extending the image definition template (or any other future representation) to include the operations to be invoked via virt-sysprep on the image. The 'sealing' should be executed as the final step of the image preparation.

[1] http://libguestfs.org/virt-sysprep.1.html#operations

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