Network Reliability Engineering Community

Running selfmedicate in Vagrant with libvirt (Linux qemu/kvm)

The recent changes on selfmedicate contributed by @smk4664 make it rely on Vagrant to run a Virtual Machine, which will host the Kubernetes platform running Antidote and the labs.

The initial implementation worked well with VirtualBox (and maybe other) virtualization driver for Vagrant.

I’ve made some tests, and it seems it works well with libvirt, provided a few changes, if one runs Linux on the host. libvirt uses qemu/kvm to run the VM. More Vagrant options :slight_smile:

I’ve filed this issue for those interested: https://github.com/nre-learning/antidote-selfmedicate/issues/47

Interested folks can try the changes on my branch at: https://github.com/olberger/antidote-selfmedicate/commits/libvirt to do more testing.
The main change is just to use a different base box built for libvirt for the Ubuntu OS booted in the VM.

Nice to see the good work by Stephen makes it so versatile :slight_smile:

Ideally with using vagrant, you can use many different hypervisors. I will be updating the image to use one that supports more hypervisors.