Skip to content

Commit

Permalink
fix openssh server skip test
Browse files Browse the repository at this point in the history
  • Loading branch information
timmy-wright committed Feb 20, 2025
1 parent bb0ca78 commit 21b1ab5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vhdbuilder/packer/windows/configure-windows-vhd.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ function Install-ContainerD

function Install-OpenSSH
{
if ($env:INSTALL_OPEN_SSH_SERVER -eq 'true')
if ($env:INSTALL_OPEN_SSH_SERVER -eq 'False')
{
Write-Log "Not installing Windows OpenSSH Server as this is disabled in the pipeline"
return
Expand Down Expand Up @@ -824,9 +824,9 @@ function Log-ReofferUpdate

function Test-AzureExtensions
{
if ($env:SKIP_EXTENSION_CHECK -eq "true")
if ($env:SKIP_EXTENSION_CHECK -eq "True")
{
Write-Log "Skipping extension check because SKIP_EXTENSION_CHECK is set to true"
Write-Log "Skipping extension check because SKIP_EXTENSION_CHECK is set to True"
return
}

Expand Down

0 comments on commit 21b1ab5

Please sign in to comment.