Better API for container filesystem setup in Scenario #1430
Labels
feature
New feature or request
needs design
needs more thought or spec
testing
Related to ops.testing
Right now, if you want to 'prepare' a container filesystem to e.g. simulate a config file being present before scenario runs, you have to mess with Mounts and create a temporary directory yourself:
Wouldn't it be nice if you could simply grab the filesystem from the context and manipulate it directly like:
Issue with this is that when ops (scenario) sets up the container it expects a clean slate and will raise if any of the paths exist already or can't be deleted because they contain files.
Moved from canonical/ops-scenario#59
The text was updated successfully, but these errors were encountered: