From 712998e9afddf1fead00cb8481769a112fa47e50 Mon Sep 17 00:00:00 2001 From: Yi Zhang Date: Tue, 10 Nov 2020 22:47:12 -0800 Subject: [PATCH] Add 2020-11 Update for Windows Server 2019 (KB4586793) (#433) * Add 2020-11 Cumulative Update for Windows Server 2019 for x64-based Systems (KB4586793). * Fix the test for KB4586793. --- vhdbuilder/packer/configure-windows-vhd.ps1 | 3 ++- vhdbuilder/packer/test/vhd-content-test.ps1 | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/vhdbuilder/packer/configure-windows-vhd.ps1 b/vhdbuilder/packer/configure-windows-vhd.ps1 index 9e3207b68b5..57fd7dd7c1a 100644 --- a/vhdbuilder/packer/configure-windows-vhd.ps1 +++ b/vhdbuilder/packer/configure-windows-vhd.ps1 @@ -218,7 +218,8 @@ function Install-WindowsPatches { # Windows Server 2019 update history can be found at https://support.microsoft.com/en-us/help/4464619 # then you can get download links by searching for specific KBs at http://www.catalog.update.microsoft.com/home.aspx - $patchUrls = @("http://download.windowsupdate.com/c/msdownload/update/software/updt/2020/10/windows10.0-kb4580390-x64_743bc31f33bf399c7f15ab020df685780faf4cb5.msu") + # 2020-11 Cumulative Update for Windows Server 2019 for x64-based Systems (KB4586793) + $patchUrls = @("http://download.windowsupdate.com/c/msdownload/update/software/secu/2020/11/windows10.0-kb4586793-x64_99d3826119288e28a7d7e0b61c3c112476ddc87a.msu") foreach ($patchUrl in $patchUrls) { $pathOnly = $patchUrl.Split("?")[0] diff --git a/vhdbuilder/packer/test/vhd-content-test.ps1 b/vhdbuilder/packer/test/vhd-content-test.ps1 index 64da668fd65..ee78bdb14e7 100644 --- a/vhdbuilder/packer/test/vhd-content-test.ps1 +++ b/vhdbuilder/packer/test/vhd-content-test.ps1 @@ -149,7 +149,7 @@ function Test-FilesToCacheOnVHD function Test-PatchInstalled { # patchIDs contains a list of hotfixes patched in "configure-windows-vhd.ps1", like "kb4558998" - $patchIDs = @("kb4580390") + $patchIDs = @("kb4586793") $hotfix = Get-HotFix $currenHotfixes = @() foreach($hotfixID in $hotfix.HotFixID)