mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-24 21:13:50 +00:00
Added instance dns information when running on amazon
This commit is contained in:
1 parent
e52241d798
commit
dc922c8eb0
1 file changed
+1
@@ -60,6 +60,7 @@ if [[ ! -z "$ON_AMAZON" ]]; then
|
||||
DEPLOY_TO=server
|
||||
INSTANCE_NAME=`ec2-metadata -i | cut -f2 -d " "`
|
||||
INSTANCE_IP4=`ec2-metadata -v | cut -f2 -d " "`
|
||||
INSTANCE_DNS=`ec2-metadata -p | cut -f2 -d " "`
|
||||
INSTANCE_ID="$INSTANCE_NAME ($INSTANCE_IP4)"
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user