I am currently attempting to use vagrant with virtualbox to set up a vm 
using a bridge connection.  There are several different systems that will 
run this, but have different (some currently unknown to me) adapter names.  
The issue is that these systems are running windows 10 with the newest 
version of wireshark use the npcap loopback adapter.

Is there any way to tell config.vm.network to ignore an adapter by name?  
I.e. I would like the network adapter selection to ignore "Npcap Loopback 
Adapter" so the user does not have to manually select the other adapter if 
the system only has the loopback adapter and one other device.

Something like:
    config.vm.network 'public_network',
        ip: "192.168.1.2",
        bridge: [^(?!*Npcap*$).*]

Or:

    config.vm.network 'public_network',
        ip: "192.168.1.2",
        ignore: "Npcap Loopback Adapter"


I do appreciate any help in this.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/51f177e8-cbca-40bb-8315-b0c180d08a61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to