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>master
parent
845bf4f477
commit
2dfb9ba406
|
@ -433,9 +433,11 @@ potential infinite waits blocking libvirt."))
|
|||
(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
|
||||
|
|
Reference in New Issue