mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
services: hurd-vm: Pass "-no-reboot" when spawning the Hurd VM.
* gnu/services/virtualization.scm (hurd-vm-shepherd-service)[vm-command]: Add "--no-reboot".
This commit is contained in:
parent
37283f9f3e
commit
1edb7c7eec
1 changed files with 6 additions and 1 deletions
|
@ -942,7 +942,12 @@ (define vm-command
|
|||
"-m" (number->string #$memory-size)
|
||||
#$@net-options
|
||||
#$@options
|
||||
"--hda" #+image)
|
||||
"--hda" #+image
|
||||
|
||||
;; Cause the service to be respawned if the guest
|
||||
;; reboots (it can reboot for instance if it did not
|
||||
;; receive valid secrets, or if it crashed.)
|
||||
"--no-reboot")
|
||||
(if (file-exists? "/dev/kvm")
|
||||
'("--enable-kvm")
|
||||
'())))
|
||||
|
|
Loading…
Reference in a new issue