aboutsummaryrefslogtreecommitdiff
path: root/doc/guix-cookbook.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/guix-cookbook.texi')
-rw-r--r--doc/guix-cookbook.texi10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/guix-cookbook.texi b/doc/guix-cookbook.texi
index da67921ad0..4c2b23786c 100644
--- a/doc/guix-cookbook.texi
+++ b/doc/guix-cookbook.texi
@@ -3791,13 +3791,15 @@ QEMU comes with a helper program to conveniently make use of a network
bridge interface as an unprivileged user @pxref{Network options,,, QEMU,
QEMU Documentation}. The binary must be made setuid root for proper
operation; this can be achieved by adding it to the
-@code{setuid-programs} field of your (host) @code{operating-system}
+@code{privileged-programs} field of your (host) @code{operating-system}
definition, as shown below:
@example lisp
-(setuid-programs
- (cons (file-append qemu "/libexec/qemu-bridge-helper")
- %setuid-programs))
+(privileged-programs
+ (cons (privileged-program
+ (program (file-append qemu "/libexec/qemu-bridge-helper"))
+ (setuid? #t))
+ %default-privileged-programs))
@end example
The file @file{/etc/qemu/bridge.conf} must also be made to allow the