[arvados] created: 2.6.0-468-gc56b8aaf7
git repository hosting
git at public.arvados.org
Wed Aug 9 14:12:40 UTC 2023
at c56b8aaf72c891f6012869e406d98bbf9cae65a8 (commit)
commit c56b8aaf72c891f6012869e406d98bbf9cae65a8
Author: Lucas Di Pentima <lucas.dipentima at curii.com>
Date: Wed Aug 9 11:12:08 2023 -0300
20835: Re-enable cgroups unified mode.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima at curii.com>
diff --git a/tools/compute-images/scripts/base.sh b/tools/compute-images/scripts/base.sh
index 5890eeea0..af71d68de 100644
--- a/tools/compute-images/scripts/base.sh
+++ b/tools/compute-images/scripts/base.sh
@@ -150,7 +150,7 @@ $SUDO mkdir -p /etc/arvados/docker-cleaner
$SUDO echo -e "{\n \"Quota\": \"10G\",\n \"RemoveStoppedContainers\": \"always\"\n}" > /etc/arvados/docker-cleaner/docker-cleaner.json
# Enable cgroup accounting (forcing cgroups v1)
-$SUDO echo 'GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX cgroup_enable=memory swapaccount=1 systemd.unified_cgroup_hierarchy=0"' >> /etc/default/grub
+$SUDO echo 'GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX cgroup_enable=memory swapaccount=1 systemd.unified_cgroup_hierarchy=1"' >> /etc/default/grub
$SUDO update-grub
# Make sure user_allow_other is set in fuse.conf
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list