Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[package request] vagrant-libvirt #35292

Closed
eoli3n opened this issue Jan 29, 2022 · 1 comment
Closed

[package request] vagrant-libvirt #35292

eoli3n opened this issue Jan 29, 2022 · 1 comment
Labels
request Package request

Comments

@eoli3n
Copy link
Contributor

eoli3n commented Jan 29, 2022

I can't get vagrant-libvirt vagrant plugin to work with the current vagrant version.

Here the playbook I use to setup

---
- name: install virt packages
  community.general.xbps:
    name: '{{item}}'
  loop:
      - qemu
      - libvirt
      - virt-manager
      - virt-manager-tools
      - dnsmasq
      - vagrant
      # For vagrant-libvirt
      - libvirt-devel                      
      - libguestfs
      - libxslt-devel              
      - libxml2-devel
  notify: restart libvirt

- name: add user to libvirt group
  user:
    name: '{{user}}'
    groups: libvirt
    append: yes

Then with my user

➜ vagrant plugin install vagrant-libvirt
You appear to be running Vagrant outside of the official installers.
Note that the installers are what ensure that Vagrant has all required
dependencies, and Vagrant assumes that these dependencies exist. By
running outside of the installer environment, Vagrant may not function
properly. To remove this warning, install Vagrant using one of the
official packages from vagrantup.com.

Installing the 'vagrant-libvirt' plugin. This can take a few minutes...
Building native extensions. This could take a while...
Vagrant failed to install the requested plugin because it depends
on a library which is not currently installed on this system. The
following library is required by the 'vagrant-libvirt' plugin:

  libvirt

Please install the library and then run the command again.

Related issue for fedora ? vagrant-libvirt/vagrant-libvirt#1403

@paper42 paper42 added the request Package request label Jan 29, 2022
@eoli3n
Copy link
Contributor Author

eoli3n commented Jan 29, 2022

I was missing the package pkg-config, thanks @sirn !
eoli3n/void-config@622d33e

@eoli3n eoli3n closed this as completed Jan 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request Package request
Projects
None yet
Development

No branches or pull requests

2 participants