Skip to content

Commit

Permalink
Rename example scripts of cli
Browse files Browse the repository at this point in the history
  • Loading branch information
powerkimhub committed Jun 16, 2021
1 parent 8bd4d8c commit c0a902f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
#!/bin/bash

if [ "$1" = "" ] || [ "$2" = "" ]; then
echo
echo -e 'usage: '$0' aws|gcp|alibaba|azure|openstack|cloudit # of VMs'
echo -e '\n\tex) '$0' aws 10'
echo
exit 0;
fi

source ./setup.env $1 $2

max=$2
ORG_VM_NAME=${VM_NAME}

source ./setup.env $1

while true
do
for (( num=1; num <= $max; num++ ))
Expand All @@ -15,8 +21,8 @@ do
VM_NAME=${ORG_VM_NAME}-${num}

time $CLIPATH/spctl --config $CLIPATH/grpc_conf.yaml --cname "${CONN_CONFIG}" vm get -n "${VM_NAME}" 2> /dev/null |grep vm
sleep 10
#sleep 1
done
echo
sleep 1
sleep 2
done
File renamed without changes.

0 comments on commit c0a902f

Please sign in to comment.