Open kaustavb12 opened 3 years ago
Thanks for the tool and script @kaustavb12. I'm going to leave this PR here rather than merge for teaching reasons, rather than merging. Since this is a learning repo, I'm hesitant to add too much magic and would rather people see the "manual" way to do it, and then see this PR for an alternative approach.
Thanks again!
Implemented the rexray related TODO points mentioned in the stack file:
Changed restart_policy to on-failure. New script detects if plugin already installed and reinstalls if given version is different from installed version or does nothing if version matches. This behavior can be tweaked using script options.
Specific driver version given for script to install. Can rerun script providing different version to update driver as required. Can also configure script options to reinstall using the 'latest' tag each time it runs.
Using rexray-plugin-installer project that I created. Below are the links:
GitHub: https://github.com/kaustavb12/rexray-plugin-installer Docker Hub: https://hub.docker.com/r/kaustavb12/rexray-plugin-installer