From 391ad6eefc6b362f7a7a676b1b5012b5cc1b8b80 Mon Sep 17 00:00:00 2001 From: will <22464726+willgleich@users.noreply.github.com> Date: Fri, 21 Apr 2023 10:55:10 -0600 Subject: [PATCH] Fix imds setting for multiple enis on ipv6 --- files/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/bootstrap.sh b/files/bootstrap.sh index a42da5f2f..48af3a582 100755 --- a/files/bootstrap.sh +++ b/files/bootstrap.sh @@ -400,7 +400,7 @@ fi ### kubelet.service configuration -MAC=$(imds 'latest/meta-data/network/interfaces/macs/' | head -n 1 | sed 's/\/$//') +MAC=$(imds 'latest/meta-data/mac') if [[ -z "${DNS_CLUSTER_IP}" ]]; then if [[ "${IP_FAMILY}" == "ipv6" ]]; then