diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-11-11 05:08:55 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-11-11 05:08:55 +0000 |
commit | ed5c8ffdf0593ed656853d984907ae0c2417a602 (patch) | |
tree | 812fbaecb22581684e24f7e9e0967f67995a7764 | |
parent | bce62b3da9c69a7a4f6ea33116261f853e1c9c26 (diff) | |
parent | d71749c72f935906f4858c50702a7d08352f038b (diff) | |
download | trove-integration-ed5c8ffdf0593ed656853d984907ae0c2417a602.tar.gz |
Merge "MongoDB elements switch to YAML"
-rwxr-xr-x | scripts/files/elements/ubuntu-mongodb/install.d/10-mongodb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/files/elements/ubuntu-mongodb/install.d/10-mongodb b/scripts/files/elements/ubuntu-mongodb/install.d/10-mongodb index b32f148..12e5712 100755 --- a/scripts/files/elements/ubuntu-mongodb/install.d/10-mongodb +++ b/scripts/files/elements/ubuntu-mongodb/install.d/10-mongodb @@ -30,8 +30,8 @@ echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3. apt-get update apt-get install -y mongodb-org -# the following config changes are needed: smallfiles set to true, and bind_ip -# set to default -sed -i '/bind_ip/d' /etc/mongod.conf -sed -i '/smallfiles/d' /etc/mongod.conf -echo 'smallfiles = true' >> /etc/mongod.conf +# MongoDB configuration settings +# use the default bindIP +sed -i '/bindIp/d' /etc/mongod.conf +# need to use smallFiles until the device is mounted +sed -i 's/# mmapv1:/ mmapv1:\n smallFiles: true/' /etc/mongod.conf |