-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/var/lib/buttervolume/config/config.ini is not read #33
Comments
I think this is the bunch of code you are looking for: https://github.com/anybox/buttervolume/blob/master/buttervolume/plugin.py#L14-L37 As you can reand the getconfig doctstring you can also set environment variable to your plugin container. This should looks likes:
hop it helps |
@petrus-v thanks for looking into this! It seems like the code you pointed to only reads The readme file however claims I can also put configuration in Maybe the readme is incorrect? |
Hi @bananer, |
In the readme it says, I can put configuration settings into
/etc/buttervolume/config.ini file inside the container or /var/lib/buttervolume/config/config.ini on the host
However, I tried changing my snapshots and volumes path in
/var/lib/buttervolume/config/config.ini
but they still end up in the default place.Quickly searching through the code also shows no references to that file, it might be an error in the readme.
However, configuring through a file on the host would be useful to me. I could not figure out the other option of setting environment variables for configuration.
The text was updated successfully, but these errors were encountered: