Skip to content

Commit

Permalink
Run separately
Browse files Browse the repository at this point in the history
  • Loading branch information
sagepe committed Nov 15, 2024
1 parent 0abecc0 commit 2022ced
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/install-site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ test_ec2() {
# If we're not running on an EC2 instance, an empty body is returned
# by this request:
echo -n "Testing for being on EC2... "
curl http://169.254.169.254/latest/meta-data/public-hostname
EC2_HOSTNAME=`curl --max-time 10 -s http://169.254.169.254/latest/meta-data/public-hostname`
echo "got ${EC2_HOSTNAME}... ${DONE_MSG}"
}
Expand Down

0 comments on commit 2022ced

Please sign in to comment.