summaryrefslogtreecommitdiffstats
path: root/deploy/launch.sh
diff options
context:
space:
mode:
authorcarey.xu <carey.xuhan@huawei.com>2016-01-27 11:21:41 +0800
committercarey xu <carey.xuhan@huawei.com>2016-01-27 03:29:08 +0000
commitea87da8bdf478253bcbb6dc1ab1a5b8d2e17e613 (patch)
tree50c35ffe4d399ac90f0cdb8826112eb6767f56f5 /deploy/launch.sh
parenta9dc63004652d5ea7fa57714d06cfb1b6a9586e2 (diff)
bugfix: prepare python venv
JIRA: bugfix_python_env Change-Id: Ie7f3e295c7c283ff3e805bed13029174c2dda258 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
Diffstat (limited to 'deploy/launch.sh')
-rwxr-xr-xdeploy/launch.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/deploy/launch.sh b/deploy/launch.sh
index b9e47693..d8e20f09 100755
--- a/deploy/launch.sh
+++ b/deploy/launch.sh
@@ -4,6 +4,8 @@ WORK_DIR=$COMPASS_DIR/work/deploy
mkdir -p $WORK_DIR/script
+source ${COMPASS_DIR}/deploy/prepare.sh
+prepare_python_env
source ${COMPASS_DIR}/util/log.sh
source ${COMPASS_DIR}/deploy/deploy_parameter.sh
source $(process_input_para $*) || exit 1
@@ -12,7 +14,6 @@ source ${COMPASS_DIR}/deploy/conf/${FLAVOR}.conf
source ${COMPASS_DIR}/deploy/conf/${TYPE}.conf
source ${COMPASS_DIR}/deploy/conf/base.conf
source ${COMPASS_DIR}/deploy/conf/compass.conf
-source ${COMPASS_DIR}/deploy/prepare.sh
source ${COMPASS_DIR}/deploy/network.sh
source ${COMPASS_DIR}/deploy/host_${TYPE}.sh
source ${COMPASS_DIR}/deploy/compass_vm.sh