(Last Updated On: August 19, 2018)

I have been using vagrant to manage my Virtual Machines for long time. Vagrant provides you with such cool Virtual Machines control system. I tried creating a virtual machine on my Fedora 23 Distribution but got error message “the provider ‘libvirt’ could not be found, but was requested to back the machine ‘default’. Please use a provider that exists”. After few googling i found simple solution that work.

If you would like to use vagrant with KVM, make sure you install libvirt packages for vagrant.If on Fedora 23 or 22, do

dnf install -y vagrant-libvirt vagrant

Then make Virtualbox vagrant’s default provider by typing following commands.

 echo "export VAGRANT_DEFAULT_PROVIDER=virtualbox" >> ~/.bashrc
 source ~/.bashrc

Now you can add Vagrant box using any of the following tutorials.

Easiest way to create Vagrant Box from existing Virtualbox VM 

Read How to Install Virtualbox on Fedora 23

How to install Virtualbox Latest on Ubuntu and Kali Linux 

How to add,install and run CentOS 7 Vagrant box to Virtualbox using Vagrant