go-debos / fakemachine

fake a machine
Apache License 2.0
34 stars 38 forks source link

Allow manual choice of kernel #192

Open obbardc opened 8 months ago

obbardc commented 8 months ago

Currently fakemachine searches for the kernel path in the system directories. To make fakemachine more useful to development cases, allow the backends to be able to choose which kernel to run (similar to https://github.com/go-debos/fakemachine/pull/119) in a generic way.

To make this generic, we could modify the qemu backend to accept options (see #191) like kernel-path and modules-path which would point to the specific path. If those options are not passed, we would continue to search the default paths.