Hi, I have a base system ubuntu 15.10. I installed libvirt, configured to use kvm. KVM works fine using virt-manager. I can create VMs. But Now I would like to use Vagrant for automation. I installed vagrant and libvirt plugin.
Here is my Vagrantfile: # -*- mode: ruby -*- # vi: set ft=ruby : # All Vagrant configuration is done below. The "2" in Vagrant.configure # configures the configuration version (we support older styles for # backwards compatibility). Please don't change it unless you know what # you're doing. Vagrant.configure(2) do |config| # The most common configuration options are documented and commented below. # For a complete reference, please see the online documentation at # https://docs.vagrantup.com. # Every Vagrant development environment requires a box. You can search for # boxes at https://atlas.hashicorp.com/search. config.vm.box = "rboyer/ubuntu-trusty64-libvirt" # config.vm.network "public_network", bridge: [ # "xenbr0: Wi-Fi (AirPort)", # "eno1:", # ], dev: "eno1" #config.vm.network "public_network", dev: 'xenbr0', mode: 'bridge' config.vm.network :public_network, :dev => "xenbr0", :mode => "bridge", :type => "bridge", ip: "135.104.238.181", :netmask => "255.255.255.0" end --------------------------- I spent many days figure out this problem without luck. As soon as I do vagrant up, i get followng error: ==> default: Starting domain. There was an error talking to Libvirt. The error message is shown below: Call to virDomainCreateWithFlags failed: Unable to get index for interface eth0: No such device Please help. Thanks, Anil Rana 732 888 7217 -- 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/01b23300-5c45-4d4f-9593-f094b87f772d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
