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

[1.13.x] Cherry-pick #3021 #3022

Merged
merged 1 commit into from
Apr 14, 2023

Conversation

etungsten
Copy link
Contributor

Issue number:

N/A

Description of changes:
Cherry-pick #3021

Testing done:
See #3021 testing description.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

Instead of looking up the hostname via reverse DNS look up first, we
first try any platform-specific mechanism for retrieving hostnames. For
AWS varaints, this means to query IMDS for the hostname first. This
gives up a more authoritative hostname to set for the host.
@etungsten etungsten requested review from stmcginnis and jpmcb April 14, 2023 21:19
@etungsten etungsten requested a review from zmrow April 14, 2023 21:19
@etungsten etungsten merged commit 1ef0b21 into bottlerocket-os:1.13.x Apr 14, 2023
@etungsten etungsten deleted the cherrypick-hostnaem branch April 14, 2023 21:49
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

Successfully merging this pull request may close these issues.

4 participants