vagrant-libvirt
vagrant-libvirt copied to clipboard
CentOS 9 Stream Support
I was able to get it running using the following steps:
- Enable crb repository:
sudo dnf config-manager --set-enabled crb
- Add hashicorp repository:
sudo dnf config-manager --add-repo https://rpm.releases.hashicorp.com/$release/hashicorp.repo
- Replace $releasever with 8:
sudo sed -i 's/$releasever/8/g' /etc/yum.repos.d/hashicorp.repo
- Install packages:
sudo yum install '@Virtualization Hypervisor' '@Virtualization Tools' '@Development Tools' 'libvirt-devel' 'vagrant'
- Install the plugin:
vagrant plugin install vagrant-libvirt
Did anyone face any issues with Stream 9?
I would like to submit a patch to update the README, but before, I want someone else to confirm that it's working for them too.
@ooraini can you have a look at adding CentOS 9 to the set of distros that installation is tested against in https://github.com/vagrant-libvirt/vagrant-libvirt-qa, that way it can act as a confirmation that the instructions are correct.
Presently trying this on Stream 9 and getting -
# dnf install '@Virtualization Hypervisor' '@Virtualization Tools' '@Development Tools' 'libvirt-devel' 'vagrant'
Last metadata expiration check: 0:39:51 ago on Fri 08 Jul 2022 11:28:47 BST.
No match for argument: libvirt-devel
Adding --enablerepo=crb fixes it tho.
dnf --enablerepo=crb install '@Virtualization Hypervisor' '@Virtualization Tools' '@Development Tools' 'libvirt-devel' 'vagrant'
vagrant plugin install vagrant-libvirt
This should get you running - just evaluating this myself ;)
For ref - CRB is Codeready Linux Builder - https://developers.redhat.com/blog/2018/11/15/introducing-codeready-linux-builder