You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -761,8 +761,8 @@ while ($runCount -le $NumberOfIterations)
761
761
}
762
762
$osVersion,$linuxImgExists
763
763
}
764
-
[string]$osVersion=$pirQueryRes[2]
765
-
[boolean]$linuxImgExists=$pirQueryRes[3]
764
+
#[string]$osVersion = $pirQueryRes[2]
765
+
#[boolean]$linuxImgExists = $pirQueryRes[3]
766
766
767
767
Invoke-Usecase-Name 'DeployARMTemplate'-Description "Deploy ARM template to setup the virtual machines"-UsecaseBlock `
768
768
{
@@ -1162,13 +1162,13 @@ while ($runCount -le $NumberOfIterations)
1162
1162
1163
1163
Invoke-Usecase-Name 'RemoveLinuxImageFromPIR'-Description "Remove the Linux image uploaded during setup from the Platform Image Respository"-UsecaseBlock `
1164
1164
{
1165
-
if (Get-AzureRmVMImage-Location $ResourceLocation-PublisherName $linuxImagePublisher-Offer $linuxImageOffer-Sku $LinuxOSSku-ErrorAction SilentlyContinue)
1165
+
if ((Get-AzureRmVMImage-Location $ResourceLocation-PublisherName $linuxImagePublisher-Offer $linuxImageOffer-Sku $LinuxOSSku-ErrorAction SilentlyContinue) -and ($linuxUpload))
0 commit comments