From 7a5be27a034f86bb980340d1e571ec9c3286107c Mon Sep 17 00:00:00 2001 From: Sean Murphy Date: Thu, 21 Apr 2022 16:42:10 -0400 Subject: [PATCH] ECS now supports cgroups v2 --- scripts/ecs-anywhere-install.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/scripts/ecs-anywhere-install.sh b/scripts/ecs-anywhere-install.sh index 6c46909f..7dab9a1f 100755 --- a/scripts/ecs-anywhere-install.sh +++ b/scripts/ecs-anywhere-install.sh @@ -152,13 +152,6 @@ if [ ! -d /run/systemd/system ]; then fail fi -if [ -f "/sys/fs/cgroup/cgroup.controllers" ]; then - echo "Your system is using cgroups v2, which is not supported by ECS." - echo "Please change your system to cgroups v1 and reboot. If your system has grubby, we suggest using the following command:" - echo ' sudo grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0" && sudo shutdown -r now' - fail -fi - SSM_SERVICE_NAME="amazon-ssm-agent" SSM_BIN_NAME="amazon-ssm-agent" if systemctl is-enabled snap.amazon-ssm-agent.amazon-ssm-agent.service &>/dev/null; then