summaryrefslogtreecommitdiffstats
path: root/utils/infra_setup/heat_template/HOT_create_instance.sh
diff options
context:
space:
mode:
authorrexlee8776 <limingjiang@huawei.com>2016-01-08 14:53:12 +0800
committerrexlee8776 <limingjiang@huawei.com>2016-01-10 09:20:03 +0000
commitf476468dc4fac62f43987edf3c2501a209b8bcda (patch)
tree60b9579348c4f1ee10a797653445a88cdc097baf /utils/infra_setup/heat_template/HOT_create_instance.sh
parent7be8a9f58376fb3ef0b2f5ecde03edca0e80035a (diff)
Add dashboard configuration
JIRA: BOTTLENECK-30 Change-Id: Ic093abb9c8b70f5722737c0aa2066455d805e679 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
Diffstat (limited to 'utils/infra_setup/heat_template/HOT_create_instance.sh')
-rwxr-xr-xutils/infra_setup/heat_template/HOT_create_instance.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/utils/infra_setup/heat_template/HOT_create_instance.sh b/utils/infra_setup/heat_template/HOT_create_instance.sh
index bdcb7ef9..ec5b3666 100755
--- a/utils/infra_setup/heat_template/HOT_create_instance.sh
+++ b/utils/infra_setup/heat_template/HOT_create_instance.sh
@@ -167,6 +167,11 @@ bottlenecks_rubbos_run()
echo "GERRIT_REFSPEC_DEBUG=$GERRIT_REFSPEC_DEBUG" >> $BOTTLENECKS_REPO_DIR/utils/infra_setup/vm_dev_setup/hosts.conf
+ echo "POD_NAME=$POD_NAME" >> $BOTTLENECKS_REPO_DIR/utils/infra_setup/vm_dev_setup/hosts.conf
+ echo "INSTALLER_TYPE=$INSTALLER_TYPE" >> $BOTTLENECKS_REPO_DIR/utils/infra_setup/vm_dev_setup/hosts.conf
+ echo "BOTTLENECKS_VERSION=$BOTTLENECKS_VERSION" >> $BOTTLENECKS_REPO_DIR/utils/infra_setup/vm_dev_setup/hosts.conf
+ echo "BOTTLENECKS_DB_TARGET=$BOTTLENECKS_DB_TARGET" >> $BOTTLENECKS_REPO_DIR/utils/infra_setup/vm_dev_setup/hosts.conf
+
scp $ssh_args -r \
$BOTTLENECKS_REPO_DIR/utils/infra_setup/vm_dev_setup \
ec2-user@$control_ip:/tmp
@@ -255,6 +260,10 @@ main()
TEMPLATE_NAME=bottlenecks_rubbos_hot.yaml
PUBLIC_NET_NAME=net04_ext
ssh_args="-o StrictHostKeyChecking=no -o BatchMode=yes -i $KEY_PATH/bottlenecks_key"
+ : ${POD_NAME:='opnfv-jump-2'}
+ : ${INSTALLER_TYPE:='fuel'}
+ : ${BOTTLENECKS_VERSION:='master'}
+ : ${BOTTLENECKS_DB_TARGET:='213.77.62.197'}
bottlenecks_env_prepare
set -x