Vagrant 如何在流浪汉中运行6台以上的机器

Vagrant 如何在流浪汉中运行6台以上的机器,vagrant,virtualbox,Vagrant,Virtualbox,我正在使用Vagrant配置: config.vm.network :private_network, ip: "..." 但我不能提供超过6台机器,因为: There is no available slots on the VirtualBox VM for the configured high-level network interfaces. "private_network" and "public_network" network configurations consume a

我正在使用Vagrant配置:

config.vm.network :private_network, ip: "..."
但我不能提供超过6台机器,因为:

There is no available slots on the VirtualBox VM for the configured
high-level network interfaces. "private_network" and "public_network"
network configurations consume a single network adapter slot on the
VirtualBox VM. VirtualBox limits the number of slots to 8, and it
appears that every slot is in use. Please lower the number of used
network adapters.
尝试了私有网络和公共网络,结果相同。在最后一台配置的机器上,我看到了许多eth*接口,不确定它们是否相关。我不需要机器之间可以通信,所以可能有一个配置来实现这一点


Vagrant版本是1.4.3,VirtualBox是4.3.34,主机是LinuxMint17.2,你能打开虚拟机并编辑你虚拟机的配置吗

转到系统设置并在主板选项卡中选择ICH9芯片组

使用ICH9芯片组还可以配置多达36个 网卡(最多8个带PIIX3的网络适配器)。请注意 ICH9支持是试验性的,不建议用于来宾操作系统 不需要它的系统


因此,它应该通过8个网络适配器的限制,但不能保证一切都能正常工作,因为它仍然是实验性的

您可以打开虚拟机并编辑VM的配置吗

转到系统设置并在主板选项卡中选择ICH9芯片组

使用ICH9芯片组还可以配置多达36个 网卡(最多8个带PIIX3的网络适配器)。请注意 ICH9支持是试验性的,不建议用于来宾操作系统 不需要它的系统


因此,它应该通过8个网络适配器的限制,但不能保证一切正常,因为它仍然是实验性的

哪个版本的VirtualBox和Vagrant?什么是主机操作系统?Vagrant版本是1.4.3,VirtualBox是4.3.34,主机是Linux Mint 17.2,最新版本的Vagrant是1.8.1,VirtualBox 5已经上市一段时间了。我建议升级这两个,然后看看这个问题是否仍然存在。顺便说一句:我也用薄荷。不错的选择!我猜你的档案有错误。你能展示一下吗?哪些版本的VirtualBox和Vagrant?什么是主机操作系统?Vagrant版本是1.4.3,VirtualBox是4.3.34,主机是Linux Mint 17.2,最新版本的Vagrant是1.8.1,VirtualBox 5已经上市一段时间了。我建议升级这两个,然后看看这个问题是否仍然存在。顺便说一句:我也用薄荷。不错的选择!我猜你的档案有错误。你能展示一下吗?我不认为这是问题所在。OP希望每台机器启动6个以上的虚拟机,但不超过8个接口。我猜OP在Vagrant文件中有一个错误。对,我在配置文件中毕竟有一个错误:
config.vm.define“p0”do | p0 | p0.vm.hostname=“p0”p0.vm.box=“p0”config.vm.network:private_network,ip:“192.168.60.10”end
注意“config”这是从单机到多机的复制粘贴。很抱歉浪费大家的时间,我不认为这是问题所在。OP希望每台机器启动6个以上的虚拟机,但不超过8个接口。我猜OP在Vagrant文件中有一个错误。对,我在配置文件中毕竟有一个错误:
config.vm.define“p0”do | p0 | p0.vm.hostname=“p0”p0.vm.box=“p0”config.vm.network:private_network,ip:“192.168.60.10”end
注意“config”这是从单机到多机的复制粘贴。对不起,浪费了大家的时间