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

Commit

Permalink
ECS now supports cgroups v2
Browse files Browse the repository at this point in the history
  • Loading branch information
fendent committed Apr 21, 2022
1 parent e709037 commit 7a5be27
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions scripts/ecs-anywhere-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a5be27

Please sign in to comment.