Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: Remove VBox 6.1.x support for the new MAC OSX VBox hostonly adapter
  • Loading branch information
ZPascal committed Aug 16, 2023
commit db11c879a2fbdc042ac3a094e8e30349c2e13d6d
3 changes: 1 addition & 2 deletions src/bosh-virtualbox-cpi/vm/network/system_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ func (s SystemInfo) GetLastIP(subnet *net.IPNet) (net.IP, error) {
// IsMacOSXVBoxSpecial6or7Case Identify if you are system is running on MAC OS X and the used
// VirtualBox version is 6.1 or 7
func (s SystemInfo) IsMacOSXVBoxSpecial6or7Case() bool {
if s.osVersion == "darwin" && (s.vBoxMajorVersion == "7" ||
(s.vBoxMajorVersion == "6" && s.VBoxMinorVersion == "1")) {
if s.osVersion == "darwin" && (s.vBoxMajorVersion == "7") {
return true
} else {
return false
Expand Down