Comment 1 for bug 1882389

Revision history for this message
Fred Vogt (fvogt) wrote :

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.