amazon-ssm-agent
amazon-ssm-agent copied to clipboard
Dynamically get interface name for setting IP address in hosts file
*Issue #469 *
Description of changes:
Make sure that the interface name is dynamic so that in newer instance types (for example: t3
) the IP address will be fetched correctly (interface names have changed from ethX
to ensX
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Thank you for the PR, I will get it tested internally and release it as your contribution.