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

ECS now supports cgroups v2 #503

Merged
merged 1 commit into from
May 3, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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