Skip to content
Snippets Groups Projects
Commit abfe9702 authored by Edward Hicks's avatar Edward Hicks :8ball:
Browse files

+ some debug

parent 7f3029ac
No related branches found
No related tags found
No related merge requests found
Pipeline #92218 passed
......@@ -294,6 +294,7 @@ printLog("Retrieving EC2 instance ID", loglevels.INFO)
try:
instid = urllib.request.urlopen("http://169.254.169.254/latest/meta-data/instance-id")
Session['ec2id'] = str(instid.read())
printLog("Instance ID = "+Session['ec2id'], loglevels.DEBUG)
except Exception as e:
printLog(e)
cleanup()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment