Skip to content

Commit

Permalink
Add 2020-11 Update for Windows Server 2019 (KB4586793) (Azure#433)
Browse files Browse the repository at this point in the history
* Add 2020-11 Cumulative Update for Windows Server 2019 for x64-based Systems (KB4586793).

* Fix the test for KB4586793.
  • Loading branch information
yizhang4321 authored Nov 11, 2020
1 parent 202fef7 commit 712998e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion vhdbuilder/packer/configure-windows-vhd.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion vhdbuilder/packer/test/vhd-content-test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 712998e

Please sign in to comment.