script use hostnames for entry

This commit is contained in:
admin 2026-02-02 14:02:16 -07:00
parent fcb67873ed
commit bf679b9002

View file

@ -43,8 +43,8 @@ else
rs.initiate({ rs.initiate({
_id: 'rs${LXC_NUM}', _id: 'rs${LXC_NUM}',
members: [ members: [
{ _id: 0, host: '${KOMODO_DB_PRI}:27017' }, { _id: 0, host: 'mongo-db1:27017' },
{ _id: 1, host: '${KOMODO_DB_SEC}:27017' } { _id: 1, host: 'mongo-db2:27017' }
] ]
})" })"