aboutsummaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorYifei Xue <xueyifei@huawei.com>2016-08-13 09:15:22 +0800
committerYifei Xue <xueyifei@huawei.com>2016-08-17 06:37:40 +0000
commitb7058b4b3f823cf4c95c38741dddc68b59b733cc (patch)
tree1650dc561260bdba6bcc808a72fa95e72e931d29 /build.sh
parent5f0d427554e95cffd27b15861df604abf7f709d9 (diff)
Prepare the jump host offline
JIRA: COMPASS-456 Change-Id: Ieced8e30bde3d19623b5d2486a52f81c1cf295a3 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 5ec8973b..0bb6f17a 100755
--- a/build.sh
+++ b/build.sh
@@ -81,7 +81,7 @@ function download_packages()
for i in $CENTOS_BASE $COMPASS_CORE $COMPASS_WEB $COMPASS_INSTALL $TRUSTY_JUNO_PPA $TRUSTY_LIBERTY_PPA $TRUSTY_MITAKA_PPA \
$XENIAL_MITAKA_PPA $UBUNTU_ISO $UBUNTU_ISO1 $CENTOS_ISO $CENTOS7_JUNO_PPA $CENTOS7_KILO_PPA $CENTOS7_LIBERTY_PPA \
$CENTOS7_MITAKA_PPA $LOADERS $CIRROS $APP_PACKAGE $COMPASS_PKG \
- $PIP_REPO $ANSIBLE_MODULE; do
+ $PIP_REPO $ANSIBLE_MODULE $JH_ENV_PACKAGE; do
if [[ ! $i ]]; then
continue
@@ -169,6 +169,8 @@ function copy_file()
tar -zxvf $CACHE_DIR/`basename $PIP_REPO` -C $new/
+ tar -zxvf $CACHE_DIR/`basename $JH_ENV_PACKAGE` -C $new/
+
find $new/compass -name ".git" | xargs rm -rf
}