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

automatically allocate secondary ip address on assignment #113

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

josiahvehrs
Copy link
Contributor

ec2-net-utils is expected to automatically assign secondary IP addresses when the ec2 assigned-private-ip-addresses api call is run. It is expected to refresh from the instance metadata service on at a regular interval and allocate the secondary ip address.

This is not currently happening, ec2-net-utils does appear to reach out to imds successfully but does not assign the secondary ip until network services have been restarted.

This adds a missing call to register_networkd_reloader in refresh to automatically allocate assigned IP addresses.
Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@josiahvehrs josiahvehrs merged commit 9684c60 into amazonlinux:main Dec 10, 2024
4 checks passed
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