amazon-ssm-agent icon indicating copy to clipboard operation
amazon-ssm-agent copied to clipboard

Dynamically get interface name for setting IP address in hosts file

Open DanielTeraSky opened this issue 2 years ago • 1 comments

*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.

DanielTeraSky avatar Sep 23 '22 10:09 DanielTeraSky

Thank you for the PR, I will get it tested internally and release it as your contribution.

smhmhmd avatar Sep 26 '22 20:09 smhmhmd