coreos / coreos-assembler

Tooling container to assemble CoreOS-like systems
https://coreos.github.io/coreos-assembler/
Apache License 2.0
333 stars 165 forks source link

Add `cosa supermin-run` #3747

Closed jlebon closed 5 months ago

jlebon commented 5 months ago

This is very close to cosa supermin-shell but instead expects a command to run inside the supermin VM. Essentially, it's a very thin wrapper around the runvm family of functions in cmdlib.sh.

By having it be a dedicated function, it becomes like a utility command to have easy access to a privileged environment, with the working dir automatically mounted in, podman remote proxying, etc... Note also this does not require a cosa workdir.

The podman machine OS pipeline will be using this temporarily.