Le vendredi 02 avril 2021 à 11:39 +0200, Jérémy Korwin-Zmijowski a
écrit :
> I tried to add myself to the group using :
> 
> $ sudo usermod -a -G kvm jeko

Hello, 

Groups need to be specified in the config.scm file.

You need to edit it, and under "(user-account", find or create the
entry "(supplementary-groups" containing a list of strings.

I have something like this:

(user-account
                (name ...)
                (comment ...)
                (group ...)
                (home-directory ...)
                (supplementary-groups
                 '("wheel" "netdev" "audio" "video" ... "libvirt"
"kvm")))

Reconfigure (and possibly reboot) and it will be better :)


Reply via email to