Hello, I am working on a CentOS7 libvirt hypervisor running Vagrant 2.0.0 and using the vagrant box found here: https://app.vagrantup.com/centos/boxes/6.
I am trying to configure a vagrant box with a bridged interface using the documentation examples at vagrant-up.com. When I add this line to my Vagrantfile: config.vm.network "public_network", bridge: "br0" Then do: vagrant up I get this error: Call to virDomainCreateWithFlags failed: Unable to get index for interface eth0: No such device I've had to use this syntax in order for it to work: config.vm.network "public_network", :dev => "br0", :mode => 'bridge', :type => "bridge" *I have 2 questions:* 1. Is the documentation outdated? 2. When this does work, it creates a second network device (eth1) on the vagrant box which is connected to the host via br0. Eth0 is connected to the host via (vagrant-libvirt). Is there a way to have my bridge as eth0? Thanks... -- 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/db28f515-f768-4c1e-939d-424e2e0f489d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
