summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/system/vm.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index 799ab51d41..d7d28a2f12 100644
--- a/gnu/system/vm.scm
+++ b/gnu/system/vm.scm
@@ -368,6 +368,10 @@ environment with the store shared with the host."
                      #:virtio? #t
                      #:qemu-networking? #t
                      rest)))
+
+    ;; Disable swap.
+    (swap-devices '())
+
     (file-systems (cons* (file-system
                            (mount-point "/")
                            (device "/dev/vda1")