--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/a51409c3-b2f6-4ec9-8395-4eb9b103cbe9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
HelloNot sure from where you got the last part but per documentation should beconfig.vm.network "private_network", :type => 'dhcp'Vagrant first network will be always nat and its by design that way for vagrant be able to login to the VM and configureAlvaro
On Fri, Aug 11, 2017 at 8:57 AM, Gerhardus Geldenhuis <gerhardus....@gmail.com> wrote:
HiI seem unable to create a Host-Only adapter for my second network interface in vagrant.I have the following line for networking:config.vm.network "private_network", :type => 'dhcp', virtualbox__intnet: "vboxnet0",Instead of creating a network attached to "Host-Only adaptor" it creates a network attached to the "internal network" named vboxnet0.The documentation is a bit sparse on network settings for the virtualbox provider. Any pointers would be appreciated.I am trying to create a box with two network cards, NAT for enabling the box to talk to the world and Host-Only adaptor to enable me to ssh to the box. I don't want to do port forwarding because I would like a generic solution that allows me to access any port because my host machine is on the same network.Regards
--
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/a51409c3-b2f6-4ec9-8395-4eb9b103cbe9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Alvaro
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/db7b41d9-9804-4df9-b4de-154b03825ac2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/db7b41d9-9804-4df9-b4de-154b03825ac2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Alvaro