Skip to content

Instantly share code, notes, and snippets.

@gangsta
Last active January 27, 2019 09:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save gangsta/9bd039343463cd0fecd2a9e2cfd8e65d to your computer and use it in GitHub Desktop.
Save gangsta/9bd039343463cd0fecd2a9e2cfd8e65d 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