specify my network adapter.

117 views
Skip to first unread message

greenb...@gmail.com

unread,
Sep 16, 2020, 11:40:54 AM9/16/20
to Vagrant
When I bring up my vagrant box, if my VPN is up, I get a prompt that looks like so: 

==> default: Available bridged network interfaces:
1) Intel(R) Wireless-AC 9560 160MHz
2) PANGP Virtual Ethernet Adapter #2
==> default: When choosing an interface, it is usually the one that is
==> default: being used to connect to the internet.
==> default:
    default: Which interface should the network bridge to? 1

If I'm not on the VPN, I don't get this, of course.

Can I specify the adapter (1) in my vagrantfile?  I don't see anything commented out that would explain how to do this.  

I really would like to suppress this prompt, since, if I'm not paying attention, my 'vagrant up' hangs until I return to it.

Thanks, 
Ed Greenberg

dnmo...@gmail.com

unread,
Sep 16, 2020, 5:24:23 PM9/16/20
to Vagrant
What I believe you are looking for is specifying a default network interface https://www.vagrantup.com/docs/networking/public_network#default-network-interface
Reply all
Reply to author
Forward
0 new messages