Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IMDSv2 compatibility #70

Open
kislyuk opened this issue Oct 25, 2021 · 0 comments
Open

IMDSv2 compatibility #70

kislyuk opened this issue Oct 25, 2021 · 0 comments

Comments

@kislyuk
Copy link
Owner

kislyuk commented Oct 25, 2021

git grep 169.254

python3 -c 'import sys, botocore.utils as b; i=b.IMDSFetcher(); i._get_request(sys.argv[1], None, i._fetch_metadata_token()).text' latest/meta-data/hostname

aegea_imds(){ python3 -c 'import sys, botocore.utils as b; i=b.IMDSFetcher(); print(i._get_request(sys.argv[1], None, i._fetch_metadata_token()).text)' $@; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant