[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#43650] [PATCH 7/8] services: hurd-vm: Pass "-no-reboot" when spawni
From: |
Ludovic Courtès |
Subject: |
[bug#43650] [PATCH 7/8] services: hurd-vm: Pass "-no-reboot" when spawning the Hurd VM. |
Date: |
Sun, 27 Sep 2020 17:32:20 +0200 |
* gnu/services/virtualization.scm (hurd-vm-shepherd-service)[vm-command]:
Add "--no-reboot".
---
gnu/services/virtualization.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/services/virtualization.scm b/gnu/services/virtualization.scm
index c639fa3741..a50cf8b733 100644
--- a/gnu/services/virtualization.scm
+++ b/gnu/services/virtualization.scm
@@ -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")
'())))
--
2.28.0
- [bug#43650] [PATCH 1/8] services: hurd-vm: Run QEMU as an unprivileged user., (continued)
[bug#43650] [PATCH 5/8] services: guix: Generate key pair if needed during activation., Ludovic Courtès, 2020/09/27
[bug#43650] [PATCH 6/8] services: hurd-vm: Initialize the guest's SSH/Guix keys at activation time., Ludovic Courtès, 2020/09/27
[bug#43650] [PATCH 7/8] services: hurd-vm: Pass "-no-reboot" when spawning the Hurd VM.,
Ludovic Courtès <=
[bug#43650] [PATCH 8/8] secret-service: Add a timeout when waiting for a client., Ludovic Courtès, 2020/09/27
[bug#43650] [PATCH 1/8] services: hurd-vm: Run QEMU as an unprivileged user., Jan Nieuwenhuizen, 2020/09/28
[bug#43650] [PATCH 0/8] Assorted childhurd improvements, Jan Nieuwenhuizen, 2020/09/28