summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2024-02-18 11:28:28 +0100
committerLudovic Courtès <ludo@gnu.org>2024-02-18 15:34:43 +0100
commit492b3a0c314fa4d08cb2135b61a1b0f0935bfa1e (patch)
tree219da64bdd2a69cad7a1a32b9705a5be074a602e
parent4aa2dccd4e4ae0243dcdf55a8e98d9c1520a4694 (diff)
downloadguix-492b3a0c314fa4d08cb2135b61a1b0f0935bfa1e.tar.gz
services: virtual-build-machine: Use a non-volatile root file system.
This is a followup to e0ade40c2b7f39dc109ef03d43241033e14c4d4a, which
didn’t have the desired effect.

* gnu/services/virtualization.scm (virtual-build-machine-default-image):
Add ‘volatile-root?’ field.

Change-Id: I1a622f22cdd0f8f83860a6eb4a852518db3b46b7
-rw-r--r--gnu/services/virtualization.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/services/virtualization.scm b/gnu/services/virtualization.scm
index 69c8c84190..1944268cf8 100644
--- a/gnu/services/virtualization.scm
+++ b/gnu/services/virtualization.scm
@@ -1239,6 +1239,7 @@ authpriv.*;auth.info                    /var/log/secure
                                 (virtual-build-machine-name config)))
            (format 'compressed-qcow2)
            (partition-table-type 'mbr)
+           (volatile-root? #f)
            (shared-store? #f)
            (size %default-virtual-build-machine-image-size)
            (partitions (match (image-partitions base)