Increase swapfile for new soquartz config
This commit is contained in:
parent
bb9567630a
commit
36ca280008
|
@ -325,7 +325,7 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
fallocate -l 4G /swapfile
|
fallocate -l 8G /swapfile
|
||||||
chmod 0600 /swapfile
|
chmod 0600 /swapfile
|
||||||
mkswap /swapfile
|
mkswap /swapfile
|
||||||
|
|
||||||
|
@ -411,7 +411,7 @@
|
||||||
let
|
let
|
||||||
swapFile = {
|
swapFile = {
|
||||||
device = "/swapfile";
|
device = "/swapfile";
|
||||||
size = (1024 * 4);
|
size = (1024 * 8);
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
if unlockMounts && mountVolumes then [ swapFile ] else [ ];
|
if unlockMounts && mountVolumes then [ swapFile ] else [ ];
|
||||||
|
|
Loading…
Reference in a new issue