diff options
author | baigk <baiguoku@huawei.com> | 2015-11-09 00:37:19 -0800 |
---|---|---|
committer | baigk <baiguoku@huawei.com> | 2015-11-16 07:03:05 +0000 |
commit | cb5ae68b968f28c1cedee3720ff14cf5fa1ab92c (patch) | |
tree | 74c81a96b8a76de1b5e67e4a2f7097f643ad6709 /build.sh | |
parent | e28554faea569b5e6d15b3816df702e664b5bba4 (diff) |
suport installing openstack kilo on centos 7
JIRA: COMPASS-141
Change-Id: I8b4eeacd802124cd05d17c7c24682254f0c567f7
Signed-off-by: baigk <baiguoku@huawei.com>
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -65,7 +65,8 @@ function download_local() function download_packages() { for i in $CENTOS_BASE $COMPASS_CORE $COMPASS_WEB $COMPASS_INSTALL $TRUSTY_JUNO_PPA $UBUNTU_ISO \ - $CENTOS_ISO $CENTOS7_JUNO_PPA $LOADERS $CIRROS $APP_PACKAGE $COMPASS_PKG $PIP_REPO $ANSIBLE_MODULE; do + $CENTOS_ISO $CENTOS7_JUNO_PPA $CENTOS7_KILO_PPA $LOADERS $CIRROS $APP_PACKAGE $COMPASS_PKG \ + $PIP_REPO $ANSIBLE_MODULE; do if [[ ! $i ]]; then continue @@ -111,6 +112,10 @@ function copy_file() cp $CACHE_DIR/`basename $CENTOS7_JUNO_PPA` $new/repos/cobbler/centos/ppa/ -rf fi + if [[ $CENTOS7_KILO_PPA ]]; then + cp $CACHE_DIR/`basename $CENTOS7_KILO_PPA` $new/repos/cobbler/centos/ppa/ -rf + fi + cp $CACHE_DIR/`basename $LOADERS` $new/ -rf || exit 1 cp $CACHE_DIR/`basename $APP_PACKAGE` $new/app_packages/ -rf || exit 1 cp $CACHE_DIR/`basename $ANSIBLE_MODULE | sed 's/.git//g'` $new/ansible/ -rf || exit 1 |