chore(e2e): Enable audio service (#5988)

This commit is contained in:
Michael Li authored and GitHub committed 2025-08-20 11:43:23 -04:00
1 parent 2316fecbd6
commit 41e5cacb7c
2 files changed
+9 -1

No files matched your search

@@ -125,6 +125,10 @@ do {
# add computer to domain
Add-Computer -DomainName "${var.active_directory_domain}" -Credential $credential
# Enable audio
Set-Service -Name "Audiosrv" -StartupType Automatic
Start-Service -Name "Audiosrv"
Restart-Computer -Force
</powershell>
EOF
+5 -1
View File
@@ -181,7 +181,7 @@ resource "aws_instance" "client" {
## Open the firewall for SSH connections
New-NetFirewallRule -Name sshd -DisplayName 'OpenSSH Server (sshd)' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22
# Create a non-admin user to be used for RDP connection. This
# is needed since the scheduled task that runs pyautogui
# doesn't work in an Administrator context.
@@ -197,6 +197,10 @@ resource "aws_instance" "client" {
Set-ItemProperty -Path $regPath -Name "DefaultUsername" -Value $Username -Type String
Set-ItemProperty -Path $regPath -Name "DefaultPassword" -Value "${local.test_password}" -Type String
Set-ItemProperty -Path $regPath -Name "DefaultDomainName" -Value "$env:COMPUTERNAME" -Type String
# Enable audio
Set-Service -Name "Audiosrv" -StartupType Automatic
Start-Service -Name "Audiosrv"
</powershell>
EOF