Skip to content

Commit

Permalink
added callback to shorturl for metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
Gareth Ardron committed Oct 13, 2017
1 parent fb2736c commit c370fd0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions startup_user_creation.sh
Expand Up @@ -43,6 +43,13 @@ if [[ $CHK != "" ]]; then
echo "email : $INSTALL_EMAIL" > $CRED_FILE
echo "org : $INSTALL_ORG" >> $CRED_FILE
echo "password : $INSTALL_PASSWD" >> $CRED_FILE

# get metadata
aws_region="`wget -q -O - http://169.254.169.254/latest/meta-data/placement/availability-zone`"
aws_ami="`wget -q -O - http://169.254.169.254/latest/meta-data/ami-id`"
# adding call to install checker
chk="`curl lrnloc.kr/AMIinstall`"

else
echo "[UC] User $INSTALL_EMAIL already exists, not creating" >> $INSTALL_LOG
fi

0 comments on commit c370fd0

Please sign in to comment.