tinkerbell / tinkerbell/actions
[feature] cexec should grab the mountpoints using the metadata
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 37
- Forks
- 57
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with cexec's current BLOCK_DEVICE handling, then inspect rootio/storage and how the Hardware object exposes metadata. Preserve the existing explicit-device behavior; when BLOCK_DEVICE is empty, completion means mounting every configured mountpoint before running commands in the chroot.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100