Skip to content

Commit f3d011e

Browse files
[MacOS] Unpin Virtualbox (#8653)
* [MacOS] Unpin Virtualbox * Remove obsolete virtualbox kext pester test
1 parent 804aabd commit f3d011e

File tree

2 files changed

+1
-18
lines changed

2 files changed

+1
-18
lines changed

images/macos/provision/core/commonutils.sh

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,7 @@ done
1313
cask_packages=$(get_toolset_value '.brew.cask_packages[]')
1414
for package in $cask_packages; do
1515
echo "Installing $package..."
16-
if [[ $package == "virtualbox" ]]; then
17-
if ! is_Ventura || ! is_VenturaArm64; then
18-
# VirtualBox 7 crashes
19-
# macOS host: Dropped all kernel extensions. VirtualBox relies fully on the hypervisor and vmnet frameworks provided by Apple now.
20-
vbcask_url="https://raw.githubusercontent.com/Homebrew/homebrew-cask/aa3c55951fc9d687acce43e5c0338f42c1ddff7b/Casks/virtualbox.rb"
21-
download_with_retries $vbcask_url
22-
brew install ./virtualbox.rb
23-
rm ./virtualbox.rb
24-
fi
25-
else
26-
brew install --cask $package
27-
fi
16+
brew install --cask $package
2817
done
2918

3019
# Load "Parallels International GmbH"

images/macos/tests/Common.Tests.ps1

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,6 @@ Describe "Go" -Skip:($os.IsVentura -or $os.IsVenturaArm64) {
123123
}
124124
}
125125

126-
Describe "VirtualBox" -Skip:($os.IsBigSur -or $os.IsVentura -or $os.IsVenturaArm64) {
127-
It "Check kext kernel modules" {
128-
kextstat | Out-String | Should -Match "org.virtualbox.kext"
129-
}
130-
}
131-
132126
Describe "CodeQL Bundle" {
133127
It "Is installed" {
134128
$CodeQLVersionWildcard = Join-Path $Env:AGENT_TOOLSDIRECTORY -ChildPath "CodeQL" | Join-Path -ChildPath "*"

0 commit comments

Comments
 (0)