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:
Ludovic Courtès 2020-09-27 16:00:01 +02:00
parent 37283f9f3e
commit 1edb7c7eec
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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")
'())))