vagrant
add new network interface
add "config.vm.network :public_network" to your Vagrantfile
example
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "box_name"
config.vm.network :public_network
end
vagrantfile - How to access Vagrant Box in public network - Stack Overflow
http://stackoverflow.com/questions/18051760/how-to-access-vagrant-box-in-public-network
沒有留言:
張貼留言