Skip to content

Commit

Permalink
fix: fix no reg key in WS2019 (#3959)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbelHu authored Jan 10, 2024
1 parent 7af9dcf commit 7309a41
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
4 changes: 4 additions & 0 deletions vhdbuilder/packer/write-release-notes-windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ $wuRegistryNames = @(
)

foreach ($key in $wuRegistryKeys) {
# Windows 2019 does not have the Windows Containers key
if ($($systemInfo.CurrentBuildNumber) -eq 17763 -and $key -eq "HKLM:\SYSTEM\CurrentControlSet\Control\Windows Containers") {
continue
}
Log ("`t{0}" -f $key)
$regPath=(Get-Item -Path $key -ErrorAction Ignore)
if ($regPath) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ Windows Update Registry Settings
HKLM:\SYSTEM\CurrentControlSet\Services\VfpExt\Parameters
VfpEvenPodDistributionIsEnabled : 1
VfpNotReuseTcpOneWayFlowIsEnabled : 1
HKLM:\SYSTEM\CurrentControlSet\Control\Windows Containers
HKLM:\SYSTEM\CurrentControlSet\Control\Windows Containers doesn't exist in current OS.

ContainerD Info
Version: ctr github.com/containerd/containerd v1.6.21+azure
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ Windows Update Registry Settings
HKLM:\SYSTEM\CurrentControlSet\Services\VfpExt\Parameters
VfpEvenPodDistributionIsEnabled : 1
VfpNotReuseTcpOneWayFlowIsEnabled : 1
HKLM:\SYSTEM\CurrentControlSet\Control\Windows Containers
HKLM:\SYSTEM\CurrentControlSet\Control\Windows Containers doesn't exist in current OS.

ContainerD Info
Version: ctr github.com/containerd/containerd v1.6.21+azure
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ Windows Update Registry Settings
HKLM:\SYSTEM\CurrentControlSet\Services\VfpExt\Parameters
VfpEvenPodDistributionIsEnabled : 1
VfpNotReuseTcpOneWayFlowIsEnabled : 1
HKLM:\SYSTEM\CurrentControlSet\Control\Windows Containers
HKLM:\SYSTEM\CurrentControlSet\Control\Windows Containers doesn't exist in current OS.

ContainerD Info
Version: ctr github.com/containerd/containerd v1.6.21+azure
Expand Down

0 comments on commit 7309a41

Please sign in to comment.