Skip to content

Vagrant is not working when using Virtual Box #43

Open
@pfwd

Description

@pfwd

Describe the bug

The following network error occurs when running vagrant up using Virtual box.
Tested on Instal Mac x86
This does not affect Mac M1

Steps to reproduce

  1. Use Virtual box
  2. Run vagrant up
  3. Select any network option

Expected behavior

Vagrant virtual machine up and running using Virtual box

Screenshots and recordings

==> default: Available bridged network interfaces:
1) en0: Ethernet
2) en6: USB Ethernet(?)
3) en1: Wi-Fi
4) awdl0
5) llw0
6) en2: Thunderbolt 1
7) en5: Thunderbolt 4
8) en4: Thunderbolt 3
9) en3: Thunderbolt 2
10) bridge0
11) vmenet0: Ethernet(?)
12) bridge100
13) vmenet1: Ethernet(?)
14) bridge101
==> default: When choosing an interface, it is usually the one that is
==> default: being used to connect to the internet.
==> default:
    default: Which interface should the network bridge to? 1
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["hostonlyif", "create"]

Stderr: 0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to create the host-only adapter
VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
VBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg *)" at line 95 of file VBoxManageHostonly.cpp

OS / Linux distribution

Intel Mac Monterey Version 12.4

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiAnything to do with the APIbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions