Skip to content

Commit f91e106

Browse files
authored
chore(e2e): Ensure domain controller reboots (#5986)
1 parent bdad803 commit f91e106

File tree

1 file changed

+1
-1
lines changed
  • enos/modules/aws_rdp_domain_controller

1 file changed

+1
-1
lines changed

enos/modules/aws_rdp_domain_controller/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ resource "aws_instance" "domain_controller" {
273273
Add-WindowsFeature -name ad-domain-services -IncludeManagementTools
274274
275275
# causes the instance to reboot
276-
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
276+
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
277277
</powershell>
278278
EOF
279279

0 commit comments

Comments
 (0)