mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-23 19:19:20 -05:00
services: libvirtd: Provide ip binary at runtime.
* gnu/services/virtualization.scm (libvirt-shepherd-service): Add sbin to the PATH variable, as ip binary is installed there. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
845bf4f477
commit
2dfb9ba406
1 changed files with 4 additions and 2 deletions
|
@ -433,9 +433,11 @@ (define (libvirt-shepherd-service config)
|
|||
(start #~(make-forkexec-constructor
|
||||
(list (string-append #$libvirt "/sbin/libvirtd")
|
||||
"-f" #$config-file)
|
||||
;; For finding qemu and ip binaries.
|
||||
#:environment-variables
|
||||
;; For finding qemu binaries.
|
||||
'("PATH=/run/current-system/profile/bin")))
|
||||
(list (string-append
|
||||
"PATH=/run/current-system/profile/bin:"
|
||||
"/run/current-system/profile/sbin"))))
|
||||
(stop #~(make-kill-destructor))))))
|
||||
|
||||
(define libvirt-service-type
|
||||
|
|
Loading…
Reference in a new issue