From f68e0e6afa2cc61c481aa6a8ce6c9e4ab692491d Mon Sep 17 00:00:00 2001 From: willgleich <22464726+willgleich@users.noreply.github.com> Date: Tue, 9 May 2023 11:51:44 -0600 Subject: [PATCH] Fix imds setting for multiple enis on ipv6 (#1275) --- files/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/bootstrap.sh b/files/bootstrap.sh index c6aedcdd5..d200eb431 100755 --- a/files/bootstrap.sh +++ b/files/bootstrap.sh @@ -441,7 +441,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