diff options
author | Miguel Ángel Arruga Vivas <rosen644835@gmail.com> | 2019-10-27 03:59:23 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-11-05 15:13:15 +0100 |
commit | 2dfb9ba4069aa9d9a39935ef43cc09fabe9dbe4d (patch) | |
tree | cc8c0701a8a1998c7b92f9eb8b2f95e7158bed67 /gnu/services/virtualization.scm | |
parent | 845bf4f477494886476251f40e6ec0702b379897 (diff) | |
download | guix-2dfb9ba4069aa9d9a39935ef43cc09fabe9dbe4d.tar guix-2dfb9ba4069aa9d9a39935ef43cc09fabe9dbe4d.tar.gz |
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>
Diffstat (limited to 'gnu/services/virtualization.scm')
-rw-r--r-- | gnu/services/virtualization.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/services/virtualization.scm b/gnu/services/virtualization.scm index bc8ac9b40a..2cd4e5e89c 100644 --- a/gnu/services/virtualization.scm +++ b/gnu/services/virtualization.scm @@ -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 |