Skip to content

Commit f68e0e6

Browse files
authored
Fix imds setting for multiple enis on ipv6 (#1275)
1 parent 59212d4 commit f68e0e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/bootstrap.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ fi
441441

442442
### kubelet.service configuration
443443

444-
MAC=$(imds 'latest/meta-data/network/interfaces/macs/' | head -n 1 | sed 's/\/$//')
444+
MAC=$(imds 'latest/meta-data/mac')
445445

446446
if [[ -z "${DNS_CLUSTER_IP}" ]]; then
447447
if [[ "${IP_FAMILY}" == "ipv6" ]]; then

0 commit comments

Comments
 (0)