You are not logged in.
I just came across this article for running Vagrant with kvm
https://www.devopsroles.com/vagrant-usi … m-provider
I've adapted the commands for ArchLinux. The problem is I'm unable to install the libvirt plugin for Vagrant.
```
$ vagrant plugin install vagrant-libvirt
Installing the 'vagrant-libvirt' plugin. This can take a few minutes...
Vagrant failed to properly resolve required dependencies. These
errors can commonly be caused by misconfigured plugin installations
or transient network issues. The reported error is:
$ vagrant plugin install vagrant-libvirt
Installing the 'vagrant-libvirt' plugin. This can take a few minutes...
Vagrant failed to properly resolve required dependencies. These
errors can commonly be caused by misconfigured plugin installations
or transient network issues. The reported error is:
conflicting dependencies net-ssh (>= 2.6.5) and net-ssh (= 6.2.0.rc1)
Activated net-ssh-6.2.0.rc1
which does not match conflicting dependency (>= 2.6.5)
Conflicting dependency chains:
net-ssh (= 6.2.0.rc1), 6.2.0.rc1 activated
versus:
net-scp (= 1.2.1), 1.2.1 activated, depends on
net-ssh (>= 2.6.5)
Gems matching net-ssh (>= 2.6.5):
net-ssh-6.2.0.rc1I've tried installing vagrant-libvirt from AUR, but the KVM can't startup using libvirt plugin.
$ vagrant up --provider=libvirt
The provider 'libvirt' could not be found, but was requested to
back the machine 'default'. Please use a provider that exists.
Vagrant knows about the following providers: docker, hyperv, virtualboxLast edited by goro9922 (2021-03-26 03:17:52)
Offline
Looks like https://github.com/hashicorp/vagrant/issues/12202 which should be fixed in vagrant-git or you apply https://github.com/hashicorp/vagrant/pu … 25b18c3949 to vagrant.
Offline
Thanks for your feedback! It looks like vagrant-git is out of date and vagrant in main doesn't have the fix yet because vagrant hasn't had a new release to incorporate the changes. Still deciding whether to try to patch it myself or just wait.
Offline
VCS packages in AUR always install the very latest commits upon building but the PKGBUILD is only updated when there are build issues.
An example is https://aur.archlinux.org/packages/libdrm-git/ .
I build it frequently (last time was on march 4 this year) but it hasn't needed changes for a year now.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline