commit fc5b5436a2328a5037b1cb482275845990d804db parent 8568709b82ccbb3d69d104d9cbc7126fe6c6bbe8 Author: Andreas Gruhler <agruhl@gmx.ch> Date: Mon, 7 Feb 2022 23:04:30 +0100 feat(nomad-csi): enable mem cgroups Diffstat:
M | nomad.sh | | | 8 | ++++++-- |
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/nomad.sh b/nomad.sh @@ -126,4 +126,8 @@ if [[ -n "$NFS_SERVER" ]]; then cat << EOF >> /etc/fstab $NFS_SERVER:/$NFS_MOUNT $NFS_MOUNT_TARGET nfs defaults 0 0 EOF -fi -\ No newline at end of file +fi + +# Enable memory cgroups for NFS CSI +# https://downey.io/blog/exploring-cgroups-raspberry-pi +sed 's/$/ cgroup_enable=memory/' /boot/cmdline.txt +\ No newline at end of file