]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/stanalone: pass options using --<option-name>=<value>
authorKefu Chai <kchai@redhat.com>
Fri, 15 Dec 2017 08:17:01 +0000 (16:17 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 15 Dec 2017 08:19:15 +0000 (16:19 +0800)
commit2ceff9eb4e41704ee2acb8a33ad9c58a68da599f
tree5076e6a216d39a0fa3cd2fc6007ba8733f556e1d
parent255453442fcc28e79f60bafafee06a4b0f79cffc
qa/stanalone: pass options using --<option-name>=<value>

not "--<option-name> <value>', otherwise `ceph-authtool` would error
out:

$ CEPH_ARGS='--osd-map-max-advance 1000' bin/ceph-authtool --gen-print-key
bin/ceph-authtool: unexpected '1000'
usage: ceph-authtool keyringfile [OPTIONS]...
....

but using the syntax of `--<option-name>=<value>', it works:

$ CEPH_ARGS='--osd-map-max-advance=1000' bin/ceph-authtool --gen-print-key
AQBAhTNamf5+ABAASkAp/6IGq7LkUTEOMp/fgw==

Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/standalone/ceph-helpers.sh
qa/standalone/osd/osd-config.sh