chore(e2e): Ensure domain controller reboots (#5986)

This commit is contained in:
Michael Li authored and GitHub committed 2025-08-20 10:40:27 -04:00
1 parent bdad803b73
commit f91e10630d
1 file changed
+1 -1
@@ -273,7 +273,7 @@ resource "aws_instance" "domain_controller" {
Add-WindowsFeature -name ad-domain-services -IncludeManagementTools
# causes the instance to reboot
Install-ADDSForest -CreateDnsDelegation:$false -DomainMode 7 -DomainName ${var.active_directory_domain} -DomainNetbiosName ${var.active_directory_netbios_name} -ForestMode 7 -InstallDns:$true -SafeModeAdministratorPassword $password -Force:$true
Install-ADDSForest -CreateDnsDelegation:$false -DomainMode 7 -DomainName ${var.active_directory_domain} -DomainNetbiosName ${var.active_directory_netbios_name} -ForestMode 7 -InstallDns:$true -NoRebootOnCompletion:$false -SafeModeAdministratorPassword $password -Force:$true
</powershell>
EOF