Skip to content
This repository was archived by the owner on Jan 8, 2026. It is now read-only.
This repository was archived by the owner on Jan 8, 2026. It is now read-only.

Add support for Host-only network to VirtualBox/macOS #14

@afbjorklund

Description

@afbjorklund

Starting with macOS 13, the VirtualBox network options changed

https://www.virtualbox.org/manual/topics/networkingdetails.html#network_hostonly

On macOS hosts, choose the Host-Only Network option when configuring a network adapter.
The Host-Only Adapter option is provided for legacy support.


Hosts running recent macOS versions do not support host-only adapters

This is what the current driver uses: VBoxManage list hostonlyifs

The other alternative is hostonlynets, network name not interface name.

These adapters are replaced by host-only networks, which define a network mask and an IP address range,
where the host network interface receives the lowest address in the range.

So this new option needs to query for the actual IP address received...

https://github.com/minikube-machine/machine/blob/0.16.2/drivers/virtualbox/virtualbox.go#L771

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions