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
parent
37283f9f3e
commit
1edb7c7eec
|
@ -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")
|
||||
'())))
|
||||
|
|
Reference in New Issue