diff options
author | shuai chen <chenshuai@huawei.com> | 2016-02-24 07:41:29 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-02-24 07:41:29 +0000 |
commit | e38c1a6d08b10ea81d208bd40b9df1a13d28db8c (patch) | |
tree | 44beff459154f239469579882e559c2027649d95 /build | |
parent | 3eab3cd722870e6c02ee1337d3536dc68f89b13e (diff) | |
parent | e72bc045fd467a442a0ffb1c78e710a270a59dfa (diff) |
Merge "Support version Liberty of OpenStack for CENTOS7"
Diffstat (limited to 'build')
-rwxr-xr-x | build/make_repo.sh | 5 | ||||
-rw-r--r-- | build/templates/RedHat_liberty.tmpl | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/build/make_repo.sh b/build/make_repo.sh index 6af86a04..16490c67 100755 --- a/build/make_repo.sh +++ b/build/make_repo.sh @@ -204,6 +204,11 @@ function make_all_repo() --ansible-dir $WORK_PATH/deploy/adapters/ansible \ --default-package "rsyslog-7.6.7-1.el7 strace net-tools wget vim openssh-server \ dracut-config-rescue-033-241.el7_1.5 dracut-network-033-241.el7_1.5" + + make_repo --os-ver rhel7 --package-tag liberty \ + --ansible-dir $WORK_PATH/deploy/adapters/ansible \ + --default-package "rsyslog-7.6.7-1.el7 strace net-tools wget vim openssh-server \ + dracut-config-rescue-033-241.el7_1.5 dracut-network-033-241.el7_1.5" } function main() 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] |