Vagrant创建虚拟机报网络创建失败

平时在本地喜欢用Vagrant+VirtualBox的方式,快速创建起虚拟机。某天,不幸运的遇到了个报错:

There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "bd2ee7ac-e57b-412a-9acf-0e5ea1756d02", "--type", "headless"]

Stderr: VBoxManage.exe: error: Failed to open/create the internal network 'HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter' (VERR_INTNET_FLT_IF_NOT_FOUND).
VBoxManage.exe: error: Failed to attach the network LUN (VERR_INTNET_FLT_IF_NOT_FOUND)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole

只好去看看对应的网络适配器了 HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter :

 

 这里对应的就是我本地的以太网9了,看了下ipv4、ipv6的设置都有勾选,那应该正常,把这个适配器禁用之后,在启用就好!

 

本文作者:笑笑霸

本文链接:https://www.cnblogs.com/xiaoxiaobug/p/16435672.html

期待你的关注、收藏、评论,欢迎转载,请指明原文链接

posted @   笑笑霸  阅读(1631)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示
💬
评论
📌
收藏
💗
关注
👍
推荐
🚀
回顶
收起