mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
services: virtual-build-machine: Do not offload when service is stopped.
* gnu/services/virtualization.scm (check-vm-availability): Check the value of ‘live-service-running’. Change-Id: Iba858ea0fa417d9276e026b72b4b78791932482e
This commit is contained in:
parent
c1d37d0653
commit
4aa2dccd4e
1 changed files with 2 additions and 1 deletions
|
@ -1500,7 +1500,8 @@ (define service-name
|
|||
(srfi srfi-34))
|
||||
|
||||
(guard (c ((service-not-found-error? c) #f))
|
||||
(->bool (current-service '#$service-name))))))
|
||||
(->bool (live-service-running
|
||||
(current-service '#$service-name)))))))
|
||||
|
||||
(define (build-vm-guix-extension config)
|
||||
(define vm-ssh-key
|
||||
|
|
Loading…
Reference in a new issue