I removed the flow logic that bails if it detects cgroups v2.
Testing
I have been able to successfully run the install script and get a properly running ECS agent in docker on a cgroups v2 debian bullseye docker container.
New tests cover the changes: no
Description for the changelog
Bug - Install script no longer fails on systems using cgroups v2
Licensing
This contribution is under the terms of the Apache 2.0 License: yes
Summary
ECS now supports cgroups v2 and no longer needs to block the install in this case.
Reference: https://github.com/aws/containers-roadmap/issues/1535 https://github.com/aws/amazon-ecs-agent/pull/3127
Implementation details
I removed the flow logic that bails if it detects cgroups v2.
Testing
I have been able to successfully run the install script and get a properly running ECS agent in docker on a cgroups v2 debian bullseye docker container.
New tests cover the changes: no
Description for the changelog
Bug - Install script no longer fails on systems using cgroups v2
Licensing
This contribution is under the terms of the Apache 2.0 License: yes