Last Updated: January 02, 2018
·
1.255K
· vedanta

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