When I add this line to my vagrantfile:

    config.vm.network "public_network", bridge: "vmnet0"

vagrant creates *second* adapter which is bridged. 
Both primary and secondary adaters seems to work fine in this configuration.
I do not want second adapter I want the primary one to be bridged.

How do I configure this?

Vagrantfile to test:

# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure("2") do |config|
  config.vm.box = "StefanScherer/windows_2016_docker"

  config.vm.network "public_network"
  config.vm.provider :vmware_workstation do |v|
    v.gui = true
  end
end



Cheers,
Andrew

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/f564595c-48f5-4dc3-ae48-067f09b2da0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to