]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-disk: bootstrap-osd keyring ignores --statedir 2633/head
authorLoic Dachary <loic-201408@dachary.org>
Fri, 3 Oct 2014 12:08:57 +0000 (14:08 +0200)
committerLoic Dachary <loic-201408@dachary.org>
Fri, 3 Oct 2014 12:08:57 +0000 (14:08 +0200)
commitfa0bd06b4657e5b84e237b76033ac3d3478b6a1f
tree532c8087e0db2252b4bd989734782aac258c553b
parentd940ec33839b2def1f9423b576403304a35b2ee7
ceph-disk: bootstrap-osd keyring ignores --statedir

The STATEDIR variable is used to initialize the bootstrap-osd keyring
before it gets a chance to be overriden by --statedir. Replace it with
{statedir} so that it can be substituted after all options have been
parsed.

http://tracker.ceph.com/issues/9653 Fixes: #9653

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
src/ceph-disk
src/test/ceph-disk.sh