From 975e5f8871d7fd36fc49c29488549e2d29d9d1b3 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Fri, 13 May 2022 10:33:55 -0700 Subject: [PATCH] Update Ubuntu 22 to be detected as not supported WSMan (#17338) --- test/tools/Modules/HelpersCommon/HelpersCommon.psm1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/tools/Modules/HelpersCommon/HelpersCommon.psm1 b/test/tools/Modules/HelpersCommon/HelpersCommon.psm1 index cb4c6c4ea4..8bdc144cac 100644 --- a/test/tools/Modules/HelpersCommon/HelpersCommon.psm1 +++ b/test/tools/Modules/HelpersCommon/HelpersCommon.psm1 @@ -392,8 +392,8 @@ function Get-WsManSupport { if ( ($platformInfo.Platform -match "alpine|raspbian") -or ($platformInfo.Platform -eq "debian" -and $platformInfo.Version -ne '9') -or - ($platformInfo.Platform -eq 'centos' -and $platformInfo.Version -eq '8') -or - ($platformInfo.Platform -eq 'ubuntu' -and $platformInfo.Version -eq '20.04') -or + ($platformInfo.Platform -eq 'centos' -and $platformInfo.Version -ne '7') -or + ($platformInfo.Platform -eq 'ubuntu' -and $platformInfo.Version -notin '18.04', '16.04') -or ($platformInfo.Platform -eq 'mariner') -or ($platformInfo.Platform -eq 'rhel') -or ($platformInfo.Platform -eq 'fedora') -or