Does anyone know how to fix this issue?
Bringing machine ‘default’ up with ‘virtualbox’ provider…
==> default: Checking if box ‘bento/ubuntu-22.04’ version ‘202309.08.0’ is up to date…
==> default: Clearing any previously set forwarded ports…
==> default: Fixed port collision for 22 => 2222. Now on port 2200.
==> default: Clearing any previously set network interfaces…
==> default: Preparing network interfaces based on configuration…
default: Adapter 1: nat
==> default: Forwarding ports…
default: 22 (guest) => 2200 (host) (adapter 1)
==> default: Booting VM…
There was an error while executing VBoxManage
, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: [“startvm”, “a6a096d4-7d4d-45a9-8c05-5180c835f807”, “–type”, “headless”]
Stderr: VBoxManage: error: The VM session was aborted
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component SessionMachine, interface ISession
1 Like
I do have the exact same issu with my new Mac M4.
hosts = {
"foo-test" => "192.168.1.99"
}
Vagrant.configure("2") do |config|
config.vm.box = "bento/debian-12.0"
config.vm.box_version = "202306.13.0"
hosts.each do |name, ip|
config.vm.define name do |vm|
vm.vm.network "public_network", ip: ip
# en0: Wifi
#vm.vm.network "public_network", ip: ip
config.vm.provider "virtualbox" do |v|
# Display the VirtualBox GUI when booting the machine
# v.gui = true
# Customize the amount of memory on the VM:
v.memory = "4096"
v.name = name
end
end
end
end
vagrant up:
...
**==> foo-test: Forwarding ports...**
foo-test: 22 (guest) => 2222 (host) (adapter 1)
**==> foo-test: Running 'pre-boot' VM customizations...**
**==> foo-test: Booting VM...**
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["startvm", "e5cb74ab-5459-4656-879a-3cb650cb1fab", "--type", "headless"]
Stderr: VBoxManage: error: The VM session was aborted
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component SessionMachine, interface ISession
Did you found a solution?
I am having the exact same issue, not sure what’s going on, I’m on Mac M1 Pro
Vagrant v2.4.2
VirtualBox v7.1.4
There doesn’t seem to be much support out there