aboutsummaryrefslogtreecommitdiffstats
path: root/build/templates
diff options
context:
space:
mode:
authorgrakiss <grakiss.wanglei@huawei.com>2016-02-15 22:14:45 -0500
committergrakiss <grakiss.wanglei@huawei.com>2016-02-24 01:54:19 -0500
commite72bc045fd467a442a0ffb1c78e710a270a59dfa (patch)
treede36cb10caf65af125d3815733c92abd561d8866 /build/templates
parent00ba12cbc900cb1cb38bee938544cc95583ab416 (diff)
Support version Liberty of OpenStack for CENTOS7
JIRA:COMPASS-315 -Support version Liberty of OpenStack for CENTOS7 Change-Id: I81abbb37a295a0ea733398ad1f278bafc3525d87 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
Diffstat (limited to 'build/templates')
-rw-r--r--build/templates/RedHat_liberty.tmpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/build/templates/RedHat_liberty.tmpl b/build/templates/RedHat_liberty.tmpl
index 29469437..baafc17f 100644
--- a/build/templates/RedHat_liberty.tmpl
+++ b/build/templates/RedHat_liberty.tmpl
@@ -14,6 +14,15 @@ yum install http://rdo.fedorapeople.org/openstack-liberty/rdo-release-liberty.rp
# modify centos7 repo for workaround
sed -i 's/epel-Derived from Red Hat Enterprise Linux 7.1 (Source)/epel-7/g' /etc/yum.repos.d/rdo-release.repo
+# add mongodb repo
+cat <<EOF >/etc/yum.repos.d/mongodb.repo
+[mongodb]
+name=MongoDB Repository
+baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/
+gpgcheck=0
+enabled=1
+EOF
+
# add galeracluster repo
cat <<EOF >/etc/yum.repos.d/MariaDB.repo
[mariadb]