vm: Disable swap devices in virtualized OSes.
* gnu/system/vm.scm (virtualized-operating-system): Add 'swap-devices' field.
This commit is contained in:
parent
6b464e6e5a
commit
65fb4515f0
|
@ -368,6 +368,10 @@ environment with the store shared with the host."
|
||||||
#:virtio? #t
|
#:virtio? #t
|
||||||
#:qemu-networking? #t
|
#:qemu-networking? #t
|
||||||
rest)))
|
rest)))
|
||||||
|
|
||||||
|
;; Disable swap.
|
||||||
|
(swap-devices '())
|
||||||
|
|
||||||
(file-systems (cons* (file-system
|
(file-systems (cons* (file-system
|
||||||
(mount-point "/")
|
(mount-point "/")
|
||||||
(device "/dev/vda1")
|
(device "/dev/vda1")
|
||||||
|
|
Loading…
Reference in New Issue