aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliyuenan <liyuenan@huawei.com>2016-11-10 09:51:07 +0800
committerliyuenan <liyuenan@huawei.com>2016-11-10 10:05:34 +0800
commit2d1bc2662ced6f3d0a15c672782616af8d2f5bf9 (patch)
tree73484bd679c91a8763a4badd7e43a0be1a1c0281
parent5f7e61eb5419681359af3ff3e37fac2b771a5c08 (diff)
Rename pip-ops to pip-openstack
Change-Id: Ie806f15b75ce409fc9283d5c0c0bc6691b430b27 Signed-off-by: liyuenan <liyuenan@huawei.com>
-rwxr-xr-xbuild.sh6
-rw-r--r--build/build.conf2
-rw-r--r--util/ks.cfg2
3 files changed, 5 insertions, 5 deletions
diff --git a/build.sh b/build.sh
index b609104c..3de7dd95 100755
--- a/build.sh
+++ b/build.sh
@@ -82,7 +82,7 @@ function download_packages()
$TRUSTY_JUNO_PPA $TRUSTY_LIBERTY_PPA $TRUSTY_MITAKA_PPA $XENIAL_MITAKA_PPA $XENIAL_NEWTON_PPA \
$UBUNTU_ISO $UBUNTU_ISO1 $REDHAT7_ISO $REDHAT7_OSP9_PPA \
$CENTOS_ISO $CENTOS7_JUNO_PPA $CENTOS7_KILO_PPA $CENTOS7_LIBERTY_PPA $CENTOS7_MITAKA_PPA \
- $LOADERS $CIRROS $APP_PACKAGE $COMPASS_PKG $PIP_REPO $PIP_OPS_REPO $ANSIBLE_MODULE; do
+ $LOADERS $CIRROS $APP_PACKAGE $COMPASS_PKG $PIP_REPO $PIP_OPENSTACK_REPO $ANSIBLE_MODULE; do
if [[ ! $i ]]; then
continue
@@ -105,7 +105,7 @@ function copy_file()
new=$1
# main process
- mkdir -p $new/compass $new/bootstrap $new/pip $new/pip-ops $new/guestimg $new/app_packages $new/ansible
+ mkdir -p $new/compass $new/bootstrap $new/pip $new/pip-openstack $new/guestimg $new/app_packages $new/ansible
mkdir -p $new/repos/cobbler/{ubuntu,centos,redhat}/{iso,ppa}
rm -rf $new/.rr_moved
@@ -181,7 +181,7 @@ function copy_file()
cp $COMPASS_DIR/deploy/adapters $new/compass/compass-adapters -rf
tar -zxvf $CACHE_DIR/`basename $PIP_REPO` -C $new/
- tar -zxvf $CACHE_DIR/`basename $PIP_OPS_REPO` -C $new/
+ tar -zxvf $CACHE_DIR/`basename $PIP_OPENSTACK_REPO` -C $new/
find $new/compass -name ".git" | xargs rm -rf
}
diff --git a/build/build.conf b/build/build.conf
index 7b46ecf7..f9e40568 100644
--- a/build/build.conf
+++ b/build/build.conf
@@ -14,7 +14,7 @@ export COMPASS_INSTALL=${COMPASS_INSTALL:-http://github.com/baigk/compass-instal
# Compass core packages
export COMPASS_PKG=${COMPASS_PKG:-$PACKAGE_URL/centos7-compass-core.tar.gz}
export PIP_REPO=${PIP_REPO:-$PACKAGE_URL/pip.tar.gz}
-export PIP_OPS_REPO=${PIP_OPS_REPO:-$PACKAGE_URL/pip-ops.tar.gz}
+export PIP_OPENSTACK_REPO=${PIP_OPENSTACK_REPO:-$PACKAGE_URL/pip-openstack.tar.gz}
export ANSIBLE_MODULE=${ANSIBLE_MODULE:-https://github.com/openstack-ansible/openstack-ansible-modules.git}
# OS ISO for provisioning
diff --git a/util/ks.cfg b/util/ks.cfg
index 62f2b110..41e6b74c 100644
--- a/util/ks.cfg
+++ b/util/ks.cfg
@@ -255,7 +255,7 @@ cp -rf ${SOURCE}/ansible/* /opt
cp -rf ${SOURCE}/repos/* /opt
cp -rf ${SOURCE}/loaders.tar.gz /opt
cp -rf ${SOURCE}/pip /var/www/pip
-cp -rf ${SOURCE}/pip-ops /var/www/pip-ops
+cp -rf ${SOURCE}/pip-openstack /var/www/pip-openstack
cp -rf ${SOURCE}/guestimg /var/www/guestimg
tar -zxvf ${SOURCE}/app_packages/packages.tar.gz -C /var/www