Skip to content

Commit

Permalink
issue 3415 (#3416)
Browse files Browse the repository at this point in the history
Fixes #3415

Co-authored-by: freddydk <[email protected]>
  • Loading branch information
freddydk and freddydk authored Mar 14, 2024
1 parent 776debf commit 896b152
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
8 changes: 2 additions & 6 deletions ContainerHandling/New-NavContainer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1281,12 +1281,8 @@ try {
}
elseif ($hostOsVersion.Build -ge 20348 -and $containerOsVersion.Build -ge 20348) {
if ($isolation -eq "") {
if ($containerOsVersion -le $hostOsVersion) {
$isolation = "process"
}
else {
$isolation = "hyperv"
}
Write-Host -ForegroundColor Yellow "WARNING: Container and host OS build is 20348 or above, defaulting to process isolation. If you encounter issues, you could try to install HyperV."
$isolation = "process"
}
}
elseif (("$hostOsVersion".StartsWith('10.0.19043.') -or "$hostOsVersion".StartsWith('10.0.19044.') -or "$hostOsVersion".StartsWith('10.0.19045.')) -and "$containerOsVersion".StartsWith("10.0.19041.")) {
Expand Down
1 change: 1 addition & 0 deletions ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
6.0.10
Issue 3415 Use process isolation

6.0.9
Issue 3404 New-BcContainerBcUser fails with 'Invoke-SqlCmd' error when running BC24
Expand Down

0 comments on commit 896b152

Please sign in to comment.