File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -416,7 +416,7 @@ Resources:
416
416
IamInstanceProfile :
417
417
Ref : JoinProfile
418
418
ImageId : !Ref AdminNodeAmiId
419
- InstanceType : t3.micro
419
+ InstanceType : t3.xlarge
420
420
KeyName : !Ref Keypair
421
421
LaunchTemplate :
422
422
LaunchTemplateId : !Ref 'DisableImdsv1LaunchTemplate'
@@ -451,14 +451,14 @@ Resources:
451
451
ADMIN_PW="${AdminPassword}"
452
452
453
453
attempt=0
454
- max_attempts=5
454
+ max_attempts=8
455
455
until [ $attempt -ge $max_attempts ]; do
456
456
attempt=$((attempt+1))
457
457
echo "[DEBUG] Checking domain name resolution for ${DirectoryDomain} ..."
458
458
dig ${DirectoryDomain}
459
459
echo "Joining domain (attempt $attempt/$max_attempts) ..."
460
460
echo "$ADMIN_PW" | sudo realm join -U "${Admin}" "${DirectoryDomain}" --verbose && echo "Domain joined" && break
461
- sleep 10
461
+ sleep 12
462
462
done
463
463
464
464
sleep 10
You can’t perform that action at this time.
0 commit comments