container-storage-setup
container-storage-setup copied to clipboard
get_docker_storage_options() should be generalized for inputfile case too
get_docker_storage_options() still seem to be hardcoding DOCKER_STORAGE_OPTIONS. And this will not work for general container storage setup.
@rhatdan CC
We are not supposed to be calling get_docker_storage_options for non docker-storage-setup environments. Which is why we change the STORAGE_OPTIONS to DOCKER_STORAGE_OPTIONS when we use /etc/sysconfig/docker-storage-setup.
This is called both for docker and non-docker setups. So function name should be changed too.