How to change network settings inherited from basebox?

9 views
Skip to first unread message

Jeff

unread,
Oct 3, 2018, 6:33:54 AM10/3/18
to Vagrant
Hi,

let's say I have used this in order to get started:

$ vagrant init hashicorp/precise64
$ vagrant up

Using VirtualBox provider it creates a NAT type network card. However, I don't want this. I want a public network. And I don't want an additional network card (which of course would be as simple as config.vm.network "public_network"). How can I replace the network information?

Thanks
Jeff



Alvaro Miranda Aguilera

unread,
Oct 9, 2018, 4:32:25 PM10/9/18
to vagra...@googlegroups.com
Hello.

Vagrant out of the box will do first network nat, and any additional network can be private or public.

This is how vagrant works out of the box.

alvaro.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/95e276a9-50e2-43e9-aa3d-809dfda7f40a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Alvaro

Reply all
Reply to author
Forward
0 new messages