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 @@ is added to the OS specified in CONFIG."
|
||||||
"-m" (number->string #$memory-size)
|
"-m" (number->string #$memory-size)
|
||||||
#$@net-options
|
#$@net-options
|
||||||
#$@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")
|
(if (file-exists? "/dev/kvm")
|
||||||
'("--enable-kvm")
|
'("--enable-kvm")
|
||||||
'())))
|
'())))
|
||||||
|
|
Reference in a new issue