我是openstack和vagrant虚拟化的新手。 成功在一些流浪汉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
答案 0 :(得分:0)
我发现我应该使用:
config.vm.network "private_network"
而非私人网络