]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-daemon: Allow env var for setting the used image
authorThomas Bechtold <tbechtold@suse.com>
Thu, 28 Nov 2019 05:08:42 +0000 (06:08 +0100)
committerThomas Bechtold <tbechtold@suse.com>
Thu, 28 Nov 2019 08:06:18 +0000 (09:06 +0100)
commit45bae8219a0501a7cbd456e55102580635e9333b
treece8cbdda98ef89bf12242f657b543e4ed19a1d0e
parentb9578b407b183322a38b6322602607b38c0e8273
ceph-daemon: Allow env var for setting the used image

Instead of always adding "--image my-custom-image" when calling
ceph-daemon with a non-standard image, allow to set the environment
variable called CEPH_DAEMON_IMAGE which will adjust the --image
default.
That way, the command line arguments when using ceph-daemon with a
custom image are a bit shorter.

Signed-off-by: Thomas Bechtold <tbechtold@suse.com>
qa/standalone/test_ceph_daemon.sh
src/ceph-daemon/ceph-daemon
src/ceph-daemon/tests/test_ceph_daemon.py
src/ceph-daemon/tox.ini