Oops. Didn't file the bug correctly.
I've looked into the locating the sources for the package / python script.
https://git.launchpad.net/cloud-utils/tree/bin/ec2metadata
Indeed this doesn't have support for IMDSv2 session tokens.
This github gist has support for it: https://gist.github.com/fred-vogt/9c2e773fdacf12e71260c71e7fd17e68
I'll submit a patch shortly.
Oops. Didn't file the bug correctly.
I've looked into the locating the sources for the package / python script.
https:/ /git.launchpad. net/cloud- utils/tree/ bin/ec2metadata
Indeed this doesn't have support for IMDSv2 session tokens.
This github gist has support for it: /gist.github. com/fred- vogt/9c2e773fda cf12e71260c71e7 fd17e68
https:/
I'll submit a patch shortly.