Skip to content

[feature] cexec should grab the mountpoints using the metadata #166

@mgrzybek

Description

@mgrzybek

Hello,

I want to run some commands in a chroot, however my installation configuration uses several mountpoints (such as /boot, /, /var/log…).
At the moment cexec uses only the given block device through environment.

I think that cexec could do something like: if BLOCK_DEVICE is empty, then use https://github.com/tinkerbell/actions/tree/main/rootio/storage to read the metadata and mount everything provided by the Hardware object..

This should keep compatibility with the actual behaviour.

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