Merge pull request #13767 from tchaikov/wip-vstart-no-multiple-mgr-x

vstart.sh: do not add host for mgr.* section if not $overwrite_conf

Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2017-03-03 09:56:07 -06:00 committed by GitHub
commit 3b8162f3d9

View File

@ -789,7 +789,7 @@ if [ "$CEPH_NUM_MGR" -gt 0 ]; then
ceph_adm -i $key_fn auth add mgr.$name mon 'allow *'
fi
cat <<EOF >> $conf_fn
wconf <<EOF
[mgr.$name]
host = $HOSTNAME
EOF