aboutsummaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorliyuenan <liyuenan@huawei.com>2017-01-14 11:31:08 +0800
committerJustin chi <chigang@huawei.com>2017-01-14 05:48:28 +0000
commit2e33f30a1f0a17692d6d0348248df10b98cfb498 (patch)
tree1f8d3612a4667bf977db5ce5a0cbe0696f06e78b /build.sh
parent1da2cee07a11d5dd7b83ab0437807fc239929f1c (diff)
Deploy OpenStack Newton on CentOS hosts
JIRA: COMPASS-518 Make Centos Newton ppa. Update host Centos version to 7.3. Support Centos Newton Deploy. Support Ceph Deploy. Change-Id: I6dd110cc10d425a9d590e1dcb5777ade5cce96aa Signed-off-by: liyuenan <liyuenan@huawei.com>
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/build.sh b/build.sh
index 268604b2..5765aa11 100755
--- a/build.sh
+++ b/build.sh
@@ -88,7 +88,7 @@ function download_packages()
for i in $CENTOS_BASE $LOADERS $CIRROS $APP_PACKAGE \
$COMPASS_CORE $COMPASS_WEB $COMPASS_INSTALL $COMPASS_PKG \
$PIP_REPO $PIP_OPENSTACK_REPO $ANSIBLE_MODULE \
- $UBUNTU_ISO $CENTOS_ISO $XENIAL_NEWTON_PPA; do
+ $UBUNTU_ISO $CENTOS_ISO $XENIAL_NEWTON_PPA $CENTOS7_NEWTON_PPA; do
if [[ ! $i ]]; then
continue
@@ -128,8 +128,8 @@ function copy_file()
cp $CACHE_DIR/`basename $CENTOS_ISO` $new/repos/cobbler/centos/iso/ -rf
fi
- if [[ $REDHAT7_ISO ]]; then
- cp $CACHE_DIR/`basename $REDHAT7_ISO` $new/repos/cobbler/redhat/iso/ -rf
+ if [[ $CENTOS7_NEWTON_PPA ]]; then
+ cp $CACHE_DIR/`basename $CENTOS7_NEWTON_PPA` $new/repos/cobbler/centos/ppa/ -rf
fi
cp $CACHE_DIR/`basename $LOADERS` $new/ -rf || exit 1