i am keep getting following error when trying to up my vm with vagrant. I installed vagrant on my mac and trying out to bringup nagois vm setup up.
vagrant config file contains following
enter code here
Vagrant.configure("2") do |config|
config.vm.define "nagios" do |nagios|
nagios.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1"
nagios.vm.network "private_network", ip: "192.168.140.10"
nagios.vm.synced_folder "nagios/", "/usr/local/nagios/etc"
nagios.vm.synced_folder "nagiosgraph/", "/usr/local/nagiosgraph/etc"
nagios.vm.box = "bento/ubuntu-16.04"
end
==> web: 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", "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 94 of file VBoxManageHostonly.cpp
User contributions licensed under CC BY-SA 3.0