add a mongo-acct script template - to be populated with passwords, etc later
This commit is contained in:
parent
94834462a3
commit
7aa6365096
2 changed files with 23 additions and 2 deletions
7
files/openshift/mongo-acct.sh
Normal file
7
files/openshift/mongo-acct.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
mongo stickshift_broker_dev --eval 'db.addUser("stickshift", "mooo")'
|
||||
mongo stickshift_broker_dev --eval 'db.auth_user.update({"_id":"admin"}, {"_id":"admin","user":"admin","password":"2a8462d93a13e51387a5e607cbd1139f"} , true)'
|
||||
echo "Acct setup done on `date`" > /etc/mongo-acct-setup
|
||||
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue