nre-learning / antidote-selfmedicate

Configs and scripts for spinning up a local instance of Antidote on your laptop for testing and lesson development
Apache License 2.0
12 stars 19 forks source link

Support images with QEMU "--enable-kvm" flag #38

Open Mierdin opened 5 years ago

Mierdin commented 5 years ago

In reviewing https://github.com/nre-learning/nrelabs-curriculum/pull/275, I tried to run the PoC lesson contained therein using the new Vagrant selfmedicate setup, and ran into this:

Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory

We should modify the setup script to ensure the right packages and kernel mods are installed and loaded, in order to support this (as we do in NRE Labs production).

This might be a little more complicated as we consider compatibilities with VirtualBox, etc - but we should still do what we can to support this.