Discussion:
[vagrant-up] How to change network settings inherited from basebox?
Jeff
2018-10-03 10:33:54 UTC
Permalink
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
--
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 Miranda Aguilera
2018-10-09 20:32:06 UTC
Permalink
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.
Post by Jeff
Hi,
$ 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
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/95e276a9-50e2-43e9-aa3d-809dfda7f40a%40googlegroups.com
<https://groups.google.com/d/msgid/vagrant-up/95e276a9-50e2-43e9-aa3d-809dfda7f40a%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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/CAHqq0ey%2B6rBpCgsx7t5c18QgQPndYycEwvvfCgaw_66Bc0erag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...