amend heat template instance creation script 41/5041/1
authorMatthewLi <matthew.lijun@huawei.com>
Tue, 22 Dec 2015 08:31:47 +0000 (08:31 +0000)
committerMatthewLi <matthew.lijun@huawei.com>
Tue, 22 Dec 2015 08:31:47 +0000 (08:31 +0000)
JIRA: BOTTLENECK-35

Change-Id: I86e19ecbca4616b79a90de5114ec7b08c0ae2ce1
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
rubbos/rubbos_scripts/1-1-1/scripts/env_preparation.sh
utils/infra_setup/heat_template/HOT_create_instance.sh

index 9bad405..692af41 100755 (executable)
@@ -8,7 +8,7 @@
 # http://www.apache.org/licenses/LICENSE-2.0
 ##############################################################################
 
-set -e
+set -ex
 
 RELENG_REPO=https://gerrit.opnfv.org/gerrit/releng
 RELENG_REPO_DIR=/tmp/opnfvrepo/releng
@@ -47,3 +47,4 @@ if [ "$INSTALLER_TYPE" == "fuel" ]; then
 fi
 
 export EXTERNAL_NET INSTALLER_TYPE POD_NAME
+set +ex
index d9e09a9..c6c1fe3 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-set -e
+set -ex
 
 bottlenecks_create_instance()
 {
@@ -106,6 +106,7 @@ main()
    PUBLIC_NET_NAME=net04_ext
    #need FIX
    #IMAGE_FILE_NAME=""
+   source $BOTTLENECKS_REPO_DIR/rubbos/rubbos_scripts/1-1-1/scripts/env_preparation.sh
 
    #bottlenecks_cleanup
    #bottlenecks_build_image
@@ -114,3 +115,5 @@ main()
 }
 
 main
+set +ex
+