1
0
mirror of https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git synced 2026-06-21 00:07:16 +03:00
This commit is contained in:
Jake Buchholz Göktürk 2026-06-15 08:03:33 -07:00
parent 656aad0896
commit da1e86f4bd

View File

@ -121,7 +121,11 @@ _imds_has_route() {
_imds() {
local endpoint endpoints routed attempts=1
if [ "$IMDS_ENDPOINT_WAIT_ATTEMPTS" -le 0 ]; then
endpoints="$(_imds_endpoints)"
fi
while :; do
[ -n "$endpoints" ] && break
endpoints=
routed=
for endpoint in $(_imds_endpoints); do