amluto / virtme

An easy way to virtualize the running system
GNU General Public License v2.0
330 stars 66 forks source link

modfinder.py: Check if modprobe is the PATH of the user #32

Closed marcosps closed 5 years ago

marcosps commented 5 years ago

openSUSE and SLE don't have modprobe in the user's PATH, so check /usr/sbin too. With this patch applied, an ordinary user can execute

virtme-run --installed-kernel

Without the need to be root in openSUSE/SLE.

Signed-off-by: Marcos Paulo de Souza mpdesouza@suse.com

jaswdr commented 5 years ago

tested with success on Tumbleweed :+1:

@amluto can you merge this one?

marcosps commented 5 years ago

@amluto ping?