Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dalitun/2c5b2169184da385ea9266cdb8da8cb4 to your computer and use it in GitHub Desktop.
Save dalitun/2c5b2169184da385ea9266cdb8da8cb4 to your computer and use it in GitHub Desktop.
How to install Libvirt Vagrant on Fedora 27

How to Install Vagrant and Livbirt Fedora 27

Check for cpu Virtualization

lsmod | grep kvm
kvm_intel             167936  3
kvm                   499712  1 kvm_intel

Install

sudo dnf install vagrant-libvirt -y
sudo dnf install @vagrant -y
#or
sudo dnf install libvirt libvirt-devel -y
#install vagrant libvirt plugin
vagrant plugin install vagrant-libvirt
systemctl start libvirtd
systemctl enable libvirtd
#Optional
sudo gpasswd -a ${USER} libvirt
sudo gpasswd -a ${USER} vagrant

Test

vagrant init centos/7
vagrant up --provider libvirt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment