feature: initial commit for all new image changes

This commit is contained in:
Subir Ghosh
2024-11-13 17:16:01 -07:00
parent de6aa9e70e
commit fcf3d0ac96
1042 changed files with 45086 additions and 1 deletions
@@ -0,0 +1,15 @@
################################################################################
## File: Configure-SystemEnvironment.ps1
## Desc: Configures system environment variables
################################################################################
$variables = @{
"ImageVersion" = $env:IMAGE_VERSION
"ImageOS" = $env:IMAGE_OS
"AGENT_TOOLSDIRECTORY" = $env:AGENT_TOOLSDIRECTORY
"RUNNER_TOOL_CACHE" = $env:AGENT_TOOLSDIRECTORY
}
$variables.GetEnumerator() | ForEach-Object {
[Environment]::SetEnvironmentVariable($_.Key, $_.Value, "Machine")
}