Use public dhcp network in Vagrant
file : Vagrantfile
Vagrant.configure(2) do |config|
# use the following to attach to the public NIC and then get a default dhcp network IP
config.vm.network "publicnetwork", usedhcpassigneddefault_route: true
end
Written by Vedanta Barooah
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vagrant
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#