我对openstack和流浪虚拟化完全陌生。在一些流浪VM上成功安装openstack后,我注意到地平线只在主机上工作,而其他机器没有响应。有没有办法让其他机器也接收到地平线数据?
更新:我的流浪文件:
# 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
我刚刚发现我应该使用:
config.vm.network "private_network"
代替私有网络