Merge pull request #4922 from travisn/toolbox-mons

Allow mons from external cluster in toolbox config
This commit is contained in:
Sébastien Han authored and GitHub committed 2020-02-27 22:37:36 +01:00
commit e2e80beaf2
1 file changed
-3
-3
View File
@@ -32,9 +32,6 @@ write_endpoints() {
# filter out the mon names
mon_endpoints=$(echo ${endpoints} | sed 's/[a-z]\+=//g')
# filter out the legacy mon names
mon_endpoints=$(echo ${mon_endpoints} | sed 's/rook-ceph-mon[0-9]\+=//g')
DATE=$(date)
echo "$DATE writing mon endpoints to ${CEPH_CONFIG}: ${endpoints}"
cat <<EOF > ${CEPH_CONFIG}