commit 1a64b6dc2683bb6a2b2525032cac40dc3f85d9da
parent 008f9acb5162eb3f4e3885dde19e727a0d8b36e6
Author: Andreas Gruhler <agruhl@gmx.ch>
Date: Wed, 10 Aug 2022 01:04:25 +0200
fix: enable memory cgroup
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nomad.sh b/nomad.sh
@@ -152,7 +152,7 @@ fi
# Enable memory cgroups for NFS CSI
# https://downey.io/blog/exploring-cgroups-raspberry-pi
-sed 's/$/ cgroup_enable=memory/' /boot/cmdline.txt
+sed -i 's/$/ cgroup_enable=memory/' /boot/cmdline.txt
# Install CNI plugin for Consul connect integration
# https://www.nomadproject.io/docs/integrations/consul-connect