Skip to content

Commit

Permalink
Fix imds setting for multiple enis on ipv6 (#1275)
Browse files Browse the repository at this point in the history
  • Loading branch information
willgleich authored May 9, 2023
1 parent 59212d4 commit f68e0e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f68e0e6

Please sign in to comment.