From 33f82886dd0166407a96cb4373f36c3c01d95fbb Mon Sep 17 00:00:00 2001 From: robertsweetman Date: Mon, 29 Jan 2024 11:39:46 +0000 Subject: [PATCH] revert to version 0.4.0 of powershell core component --- commonimages/components/templates/powershell_core.yml | 4 ++-- teams/hmpps/windows_server_2022/locals.tf | 2 +- teams/hmpps/windows_server_2022/terraform.tfvars | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/commonimages/components/templates/powershell_core.yml b/commonimages/components/templates/powershell_core.yml index fd1be970c..876cefa62 100644 --- a/commonimages/components/templates/powershell_core.yml +++ b/commonimages/components/templates/powershell_core.yml @@ -5,7 +5,7 @@ schemaVersion: 1.0 parameters: - Version: type: string - default: 0.7.0 + default: 0.4.0 description: Component version (update this each time the file changes) - Platform: type: string @@ -25,4 +25,4 @@ phases: - | choco install -y chocolatey-core.extension choco install -y kb3118401 - choco install -y powershell-core --version '{{ PowerShellCoreVersion }}' --install-arguments='"ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 REGISTER_MANIFEST=1 ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL=1 ENABLE_PSREMOTING=1 USE_MU=0 ENABLE_MU=0 DISABLE_TELEMETRY ADD_PATH=1"' --packageparameters '"/CleanUpPath"' + choco install -y powershell-core --version '{{ PowerShellCoreVersion }}' --install-arguments='"ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 REGISTER_MANIFEST=1 ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL=1 ENABLE_PSREMOTING=1"' diff --git a/teams/hmpps/windows_server_2022/locals.tf b/teams/hmpps/windows_server_2022/locals.tf index dc76e9c29..764245a71 100644 --- a/teams/hmpps/windows_server_2022/locals.tf +++ b/teams/hmpps/windows_server_2022/locals.tf @@ -2,7 +2,7 @@ locals { components_common = [ { name = "powershell_core" - version = "0.7.0" + version = "0.4.0" parameters = [] }, { diff --git a/teams/hmpps/windows_server_2022/terraform.tfvars b/teams/hmpps/windows_server_2022/terraform.tfvars index dd58bdef1..e180d6d72 100644 --- a/teams/hmpps/windows_server_2022/terraform.tfvars +++ b/teams/hmpps/windows_server_2022/terraform.tfvars @@ -5,7 +5,7 @@ region = "eu-west-2" ami_name_prefix = "hmpps" ami_base_name = "windows_server_2022" -configuration_version = "0.1.6" +configuration_version = "0.1.7" release_or_patch = "release" # or "patch", see nomis AMI image building strategy doc description = "windows server 2022"