me
/
guix
Archived
1
0
Fork 0

services: hurd-vm: Pass "-no-reboot" when spawning the Hurd VM.

* gnu/services/virtualization.scm (hurd-vm-shepherd-service)[vm-command]:
Add "--no-reboot".
master
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
1 changed files with 6 additions and 1 deletions

View File

@ -942,7 +942,12 @@ is added to the OS specified in CONFIG."
"-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")
'())))