Skip to content

Commit

Permalink
infra: Remove hardcoded ephemeral flag, use config value
Browse files Browse the repository at this point in the history
Windows were hardcoded to be ephemeral but we need the ability to
actually set these to be non-ephemeral

Signed-off-by: Eli Uriegas <eliuriegasfb.com>

ghstack-source-id: 4dfacd11f858b53edb9ed38cfdf9c80c43369e45
Pull Request resolved: #1420
seemethere committed Jan 23, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 3cf82ec commit e23886e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@ foreach ($group in @("Administrators", "docker-users")) {
Set-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System -Name ConsentPromptBehaviorAdmin -Value 0 -Force
Write-Host "Disabled User Access Control (UAC)"

$configCmd = ".\config.cmd --unattended --ephemeral --name $InstanceId --work `"_work`" $config"
$configCmd = ".\config.cmd --unattended --name $InstanceId --work `"_work`" $config"
Write-Host "Invoking config command..."
Invoke-Expression $configCmd

0 comments on commit e23886e

Please sign in to comment.