vm: Disable swap devices in virtualized OSes.

* gnu/system/vm.scm (virtualized-operating-system): Add 'swap-devices'
  field.
This commit is contained in:
Ludovic Courtès 2014-11-05 09:25:59 +01:00
parent 6b464e6e5a
commit 65fb4515f0
1 changed files with 4 additions and 0 deletions

View File

@ -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")