script use hostnames for entry
This commit is contained in:
parent
fcb67873ed
commit
bf679b9002
1 changed files with 2 additions and 2 deletions
|
|
@ -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' }
|
||||||
]
|
]
|
||||||
})"
|
})"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue