Skip to content

Commit

Permalink
Merge branch 'develop' into developoct29
Browse files Browse the repository at this point in the history
  • Loading branch information
hanwen-pcluste authored Oct 30, 2024
2 parents cd12335 + 76fa0ed commit afe493f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cloudformation/ad/ad-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,10 @@ Resources:
max_attempts=5
until [ $attempt -ge $max_attempts ]; do
attempt=$((attempt+1))
echo "[DEBUG] Content of /etc/resolv.conf is:"
cat /etc/resolv.conf
echo "[DEBUG] Resolving ${DirectoryDomain} ..."
dig ${DirectoryDomain}
echo "Joining domain (attempt $attempt/$max_attempts) ..."
echo "$ADMIN_PW" | sudo realm join -U "${Admin}" "${DirectoryDomain}" && echo "Domain joined" && break
sleep 10
Expand Down

0 comments on commit afe493f

Please sign in to comment.