Specifying the ephemeral directory path in Molecule

hello folks, has anyone figured how to specify the path of the ephemeral directory in molecule? Instead of having it save the state in the user’s home $HOME/.cache I need to store inside the scenario’s folder or at least at project’s root.

Hello @cnfrancis !

I had the same problem, so I looked through the source code and figured out, that you can set XDG_CACHE_HOME environment variable with the full desired path to the ephemeral directory.

1 Like

hello thank you Petr, I ended specifying the MOLECULE_EPHEMERAL_DIRECTORY

1 Like