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

fix ubuntu hostname #88

Merged
merged 1 commit into from
Jul 6, 2023

Conversation

ghsbhatia
Copy link
Contributor

A token is needed to invoke ec2 instance metadata endpoint otherwise empty response is returned and this causes hostname to be set as localhost when executing hostnamectl set-hostname command ultimately resulting in rke2-server and rke2-agent service failures.

specify token when invoking ec2 instance metadata endpoint
Copy link
Contributor

@mddamato mddamato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mddamato mddamato merged commit 0b3def5 into rancherfederal:master Jul 6, 2023
1 check passed
@ghsbhatia
Copy link
Contributor Author

@mddamato - Can you please also create a new tag?

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.

2 participants