0

我对 openstack 和 vagrant 虚拟化完全陌生。在一些 vagrant VM 上成功设置 openstack 后,我注意到 Horizo​​n 仅适用于主机,而其他机器没有收到任何响应。其他机器有没有办法接收地平线数据?

更新:我的流浪文件:

# vi: set ft=ruby :


VAGRANTFILE_API_VERSION = "2"


Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

config.vm.box = "controller"
#config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"

config.vm.synced_folder "/home/parisa/vagrant/sync", "/home/vagrant/sync"

config.vm.network :forwarded_port, guest: 80, host: 8888
config.vm.network "private_network", ip: "10.0.1.100"
config.vm.network "private_network", ip: "10.0.1.101"

config.vm.provider :virtualbox do |vb|
vb.name = "lighttpd-trusty"
vb.customize ["modifyvm", :id, "--memory", "4096"]
vb.customize ["modifyvm", :id, "--ostype", "Ubuntu_64"]
end


end
4

1 回答 1

0

I just found out I should use :

config.vm.network "private_network"

instead of private network

于 2014-08-08T09:17:23.677 回答