Merge pull request #4922 from travisn/toolbox-mons
Allow mons from external cluster in toolbox config
This commit is contained in:
1 file changed
-3
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user