We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03f4dc8 commit cfa5d7cCopy full SHA for cfa5d7c
cloudformation/ad/ad-integration.yaml
@@ -451,14 +451,14 @@ Resources:
451
ADMIN_PW="${AdminPassword}"
452
453
attempt=0
454
- max_attempts=5
+ max_attempts=8
455
until [ $attempt -ge $max_attempts ]; do
456
attempt=$((attempt+1))
457
echo "[DEBUG] Checking domain name resolution for ${DirectoryDomain} ..."
458
dig ${DirectoryDomain}
459
echo "Joining domain (attempt $attempt/$max_attempts) ..."
460
echo "$ADMIN_PW" | sudo realm join -U "${Admin}" "${DirectoryDomain}" --verbose && echo "Domain joined" && break
461
- sleep 10
+ sleep 12
462
done
463
464
sleep 10
0 commit comments