Skip to content

libvirt provider on Apple m1 #1

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

Open
pvalena opened this issue Mar 15, 2022 · 5 comments
Open

libvirt provider on Apple m1 #1

pvalena opened this issue Mar 15, 2022 · 5 comments

Comments

@pvalena
Copy link

pvalena commented Mar 15, 2022

Hello,

it's not possible for me to install vagrant-libvirt (it doesn't compile on Apple M1; ruby-libvirt tries to compile for x86_64 instead).

How do I get libvirt provider then?


$ 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, virtualbox, qemu

@pvalena pvalena changed the title libvirt provider libvirt provider on Apple m1 Mar 15, 2022
@billyan2018
Copy link
Owner

hi @pvalena
This plugin does not depend on libvirt.
Have you installed the plugin?

rake build && vagrant plugin install pkg/vagrant-qemu-0.2.22.gem

@billyan2018
Copy link
Owner

If you execute

vagrant plugin list

You should be able to see sth like


vagrant-qemu (0.2.22, global)
  - Version Constraint: 0.2.22

@pvalena
Copy link
Author

pvalena commented Mar 18, 2022

Oh, I've installed via brew.

That's probably the problem:

vagrant-qemu (0.1.6, global)

Edit: I take it back, I've installed via vagrant plugin install ...

@pvalena
Copy link
Author

pvalena commented Mar 18, 2022

But the vagrant is installed via brew:

$ vagrant --version
Vagrant 2.2.19

@pvalena
Copy link
Author

pvalena commented Mar 18, 2022

Thanks for checking!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants