Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

Support libvirt vagrant provider #47

Open
olberger opened this issue Oct 9, 2019 · 6 comments
Open

Support libvirt vagrant provider #47

olberger opened this issue Oct 9, 2019 · 6 comments

Comments

@olberger
Copy link
Contributor

olberger commented Oct 9, 2019

It could be interesting to be able to use libvirt (for qemu/kvm) on Linux as an alternative to virtualbox.

Would be interesting to verify any gain on performance...

@olberger
Copy link
Contributor Author

olberger commented Oct 9, 2019

It works !

I have committed in my libvirt branch the needed change: olberger@69b5d17
Basically all there is to it is using a Vagrant base box built for libvirt :-)

@smk4664
Copy link
Member

smk4664 commented Nov 1, 2019

@olberger Vagrant removed libvirt, are you using a plugin to add libvirt support back in? Would you mind linking documentation on how you were able to get this running?

@olberger
Copy link
Contributor Author

olberger commented Nov 1, 2019

I guess I must be using https://github.com/vagrant-libvirt/vagrant-libvirt

I think I saw mentions of @cloudtoad struggling with it on twitter yesterday, and maybe he could confirm about the necessary docs additions ?
Of course I can try and add some useful bits.
Maybe something along those lines: https://github.com/olberger/vagrant-k8s-kubevirt-katacontainers#install-pre-requisites (not mine originally) ...

and by the way, you might be interested to have a look at this repo, which demos how to secure containers with KataContainers (re MP3)

@olberger
Copy link
Contributor Author

olberger commented Nov 1, 2019

Of course, another option could be to just use minikube which is able to use libvirt directly, when on Linux and if qemu/kvm is preferred... but that reverses the point of using Vagrant genrally :-/

Or we could try Vagrant with no virtualizer to start minikube with qemu... if that's even feasable ?...

Too many options ;)

@olberger
Copy link
Contributor Author

olberger commented Nov 1, 2019

I'm a bit doubtful on the last one, i.e. vagrant doing pretty much nothing... sorry.

@blinklet
Copy link
Contributor

I added the libvirt provider to the vagrantfile and it works well. You need to update antidote-config.yml to set the provider to libvirt and you need to install the vagrant-libvirt plugin.

See: #62

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

No branches or pull requests

3 participants