summaryrefslogtreecommitdiffstats
path: root/utils/infra_setup
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2015-12-22 08:31:47 +0000
committerMatthewLi <matthew.lijun@huawei.com>2015-12-22 08:31:47 +0000
commit4b3809ba69a38e7a5c069f37d322d170ea9c53b8 (patch)
treeb59166c2d53d8308ba78af13c866e333e67bebe2 /utils/infra_setup
parent24fc9f9b6998533b4d94e56453c4c43256daea6e (diff)
amend heat template instance creation script
JIRA: BOTTLENECK-35 Change-Id: I86e19ecbca4616b79a90de5114ec7b08c0ae2ce1 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'utils/infra_setup')
-rwxr-xr-xutils/infra_setup/heat_template/HOT_create_instance.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/infra_setup/heat_template/HOT_create_instance.sh b/utils/infra_setup/heat_template/HOT_create_instance.sh
index d9e09a98..c6c1fe3a 100755
--- a/utils/infra_setup/heat_template/HOT_create_instance.sh
+++ b/utils/infra_setup/heat_template/HOT_create_instance.sh
@@ -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
+