From 6ecd9faa93486846193ad9327ad28d2e39ab0bc8 Mon Sep 17 00:00:00 2001 From: Tim Wright Date: Wed, 13 Nov 2024 14:00:27 +1300 Subject: [PATCH] revert bypass of extension check --- vhdbuilder/packer/configure-windows-vhd.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vhdbuilder/packer/configure-windows-vhd.ps1 b/vhdbuilder/packer/configure-windows-vhd.ps1 index f46b16ca82..6f05fa02ed 100644 --- a/vhdbuilder/packer/configure-windows-vhd.ps1 +++ b/vhdbuilder/packer/configure-windows-vhd.ps1 @@ -874,9 +874,8 @@ function Test-AzureExtensions { if (Test-Path "C:\Packages\Plugins") { $actualExtensions = (Get-ChildItem "C:\Packages\Plugins").Name if ($actualExtensions.Length -gt 0) { - # TODO: Fix this. Write-Log "Azure extensions are not expected. Skipping for now. Details: $($actualExtensions | Out-String)" - # exit 1 + exit 1 } } Write-Log "Azure extensions are not found"