summary refs log tree commit diff
path: root/gnu/system/vm.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/system/vm.scm')
-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")