Open Celeris113 opened 2 years ago
I also am having this issue
The solution is very simple. You have to edit the /etc/vbox/networks.conf
file(if it is not exsist you have to create) and add the following line:
* 192.168.55.0/24
After that, try vagrant up again.
For more info check this page: https://www.virtualbox.org/manual/ch06.html#network_hostonly
When creating the VM, I get the following error: ==> server2: Clearing any previously set network interfaces... There was an error while executing
VBoxManage
, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below.Command: ["hostonlyif", "ipconfig", "vboxnet0", "--ip", "192.168.55.1", "--netmask", "255.255.255.0"]
Stderr: VBoxManage: error: Code E_ACCESSDENIED (0x80070005) - Access denied (extended info not available) VBoxManage: error: Context: "EnableStaticIPConfig(Bstr(pszIp).raw(), Bstr(pszNetmask).raw())" at line 242 of file VBoxManageHostonly.cpp
This seems like a issue with the latest Virtualbox versions (I'm on 6.1.32).