diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-09-18 23:23:46 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-09-18 23:23:46 +0200 |
commit | 7f28bf9a435b6ddcf58d760cef4cb4734b55bcee (patch) | |
tree | d9452a12dbd07c170187526174899dccc50611f1 /gnu/system | |
parent | 6c1df0819ca888e249ee097622f03b424b44b24e (diff) | |
download | gnu-guix-7f28bf9a435b6ddcf58d760cef4cb4734b55bcee.tar gnu-guix-7f28bf9a435b6ddcf58d760cef4cb4734b55bcee.tar.gz |
system: Add udev rule for /dev/kvm.
* gnu/services/base.scm (kvm-udev-rule): New procedure.
(udev-service): Use it, and add it to RULES.
(guix-build-accounts): Add "kvm" to the 'supplementary-groups' field.
* gnu/system/shadow.scm (%base-groups): Add "kvm".
Diffstat (limited to 'gnu/system')
-rw-r--r-- | gnu/system/shadow.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm index 3549eefc0c..6970021e1f 100644 --- a/gnu/system/shadow.scm +++ b/gnu/system/shadow.scm @@ -103,7 +103,8 @@ (system-group (name "disk")) (system-group (name "floppy")) (system-group (name "cdrom")) - (system-group (name "tape"))))) + (system-group (name "tape")) + (system-group (name "kvm"))))) ; for /dev/kvm (define (default-skeletons) "Return the default skeleton files for /etc/skel. These files are copied by |