diff options
Diffstat (limited to 'utils/infra_setup/heat_template')
-rwxr-xr-x | utils/infra_setup/heat_template/HOT_create_instance.sh | 8 |
1 files changed, 7 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 49fa5e81..aa4e2e32 100755 --- a/utils/infra_setup/heat_template/HOT_create_instance.sh +++ b/utils/infra_setup/heat_template/HOT_create_instance.sh @@ -20,12 +20,18 @@ bottlenecks_create_instance() echo "create bottlenecks instance using heat template" echo "upload keypair" - nova keypair-add --pub_key $KEY_PATH/bottleneck_key.pub $KEY_NAME + nova keypair-add --pub_key $KEY_PATH/bottlenecks_key.pub $KEY_NAME #need FIX, only upload the public key? should be keypair echo "use heat template to create stack" cd $HOT_PATH heat stack-create bottlenecks -f ${TEMPLATE_NAME} -P "image=$IMAGE_NAME;key=$KEY_NAME;public_network=$PUBLIC_NET_NAME" + sleep 60 + heat stack-list + heat stack-show bottlenecks + nova list + heat stack-delete bottlenecks + #need FIX, use stack to create 9 VMs } |