ok I used this config and the VM is now on bridge mode with single NIC adapter. but vagrant cannot connect to it via ssh
Vagrant.configure("2") do |config| config.vm.network "public_network", bridge: "en6: Thunderbolt Ethernet", adapter: "1" config.ssh.insert_key = false config.vm.synced_folder ".", "/vagrant", disabled: true config.vm.provider "virtualbox" do |v| v.memory = 256 v.linked_clone = true end config.vm.define "test1" do |app| app.vm.hostname = "test1" end end app1: SSH username: vagrant app1: SSH auth method: private key app1: Warning: Connection refused. Retrying... app1: Warning: Connection refused. Retrying... app1: Warning: Connection refused. Retrying... app1: Warning: Connection refused. Retrying... app1: Warning: Connection refused. Retrying... app1: Warning: Connection refused. Retrying... app1: Warning: Connection refused. Retrying... app1: Warning: Connection refused. Retrying... app1: Warning: Connection refused. Retrying... even though I can login to the box and see the IP On Sunday, July 19, 2020 at 8:46:13 AM UTC-7 Tony Wong wrote: > I am trying to set a vagrant vm with only 1 bridge netwok adapter. but it > keeps bring up multiple adapters and a NAT one. why is that? > > ==> app2: Preparing network interfaces based on configuration... > app2: Adapter 1: nat > app2: Adapter 2: bridged > app2: Adapter 3: bridged > app2: Adapter 4: bridged > > > > -- 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/hashicorp/vagrant/issues Discuss: https://discuss.hashicorp.com/c/vagrant/24 --- 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/d8cce18b-c70d-4b5f-b6e7-647e00aba5dbn%40googlegroups.com.