help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Guix System] Can't run VM script because of KVM kernel module permi


From: divoplade
Subject: Re: [Guix System] Can't run VM script because of KVM kernel module permission
Date: Fri, 02 Apr 2021 11:55:32 +0200
User-agent: Evolution 3.34.2

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

[Prev in Thread] Current Thread [Next in Thread]