Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
control/cli.py: read server-address/port defaults from env
"--server-address" defaults to env variable CEPH_NVMEOF_SERVER_ADDRESS (otherwise "localhost"). "--server-port" defaults to env variable CEPH_NVMEOF_SERVER_PORT (otherwise 5500). This is to avoid repetitive inputs. If these environment variables are set, we can just do: `ceph-nvmeof gw info`. (instead of current `ceph-nvmeof --server-address / $NVMEOF_SERVER_ADDRESS --server-port / $NVMEOF_SERVER_PORT gw info`) Signed-off-by: Vallari Agrawal <[email protected]>
- Loading branch information