Skip to content
This repository was archived by the owner on Sep 13, 2024. It is now read-only.

Commit 32bda60

Browse files
fendentsingholt
authored andcommitted
ECS now supports cgroups v2
1 parent c9fa414 commit 32bda60

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

scripts/ecs-anywhere-install.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,6 @@ if [ ! -d /run/systemd/system ]; then
152152
fail
153153
fi
154154

155-
if [ -f "/sys/fs/cgroup/cgroup.controllers" ]; then
156-
echo "Your system is using cgroups v2, which is not supported by ECS."
157-
echo "Please change your system to cgroups v1 and reboot. If your system has grubby, we suggest using the following command:"
158-
echo ' sudo grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0" && sudo shutdown -r now'
159-
fail
160-
fi
161-
162155
SSM_SERVICE_NAME="amazon-ssm-agent"
163156
SSM_BIN_NAME="amazon-ssm-agent"
164157
if systemctl is-enabled snap.amazon-ssm-agent.amazon-ssm-agent.service &>/dev/null; then

0 commit comments

Comments
 (0)