Assuming you want Vagrant with libvirt:
dnf -y install libvirt-daemon-kvm vagrant-libvirt
systemctl enable --now libvirtd virtnetworkd
Add your user to the libvirt group to avoid password prompts on running vagrant commands with libvirt provider:
sudo gpasswd -a ${USER} libvirt
newgrp libvirt
Enable COPR repositories:
dnf -y copr enable pvalena/rubygems
dnf -y copr enable pvalena/vagrant
Now follow the Fedora instructions.