My computer is Ubuntu Desktop 16.
I am using Vagrant and KVM libvirt to create virtual machines.
However, I want my machines to connect to the Wi-Fi of my home and have IP addresses of the Wi-Fi network.
When I mention the “public network” option in Vagrantfile, and I “vagrant up”, I get the following error:
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
And I have the following as my Vagrantfile code:
Vagrant.configure("2") do |config| config.vm.network "public_network" config.vm.define "master" do |master| master.vm.hostname = "master" master.vm.box = "s3than/trusty64" end end
How can I fix the problem? Please I need the exact commands I am a very basic beginner in Linux. HELP ASAP!!