File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -416,7 +416,7 @@ Resources:
416416 IamInstanceProfile :
417417 Ref : JoinProfile
418418 ImageId : !Ref AdminNodeAmiId
419- InstanceType : t3.micro
419+ InstanceType : t3.xlarge
420420 KeyName : !Ref Keypair
421421 LaunchTemplate :
422422 LaunchTemplateId : !Ref 'DisableImdsv1LaunchTemplate'
@@ -451,14 +451,14 @@ Resources:
451451 ADMIN_PW="${AdminPassword}"
452452
453453 attempt=0
454- max_attempts=5
454+ max_attempts=8
455455 until [ $attempt -ge $max_attempts ]; do
456456 attempt=$((attempt+1))
457457 echo "[DEBUG] Checking domain name resolution for ${DirectoryDomain} ..."
458458 dig ${DirectoryDomain}
459459 echo "Joining domain (attempt $attempt/$max_attempts) ..."
460460 echo "$ADMIN_PW" | sudo realm join -U "${Admin}" "${DirectoryDomain}" --verbose && echo "Domain joined" && break
461- sleep 10
461+ sleep 12
462462 done
463463
464464 sleep 10
You can’t perform that action at this time.
0 commit comments