Closed alvarow closed 7 years ago
Are you trying to configure the ECS agent or ecs-init? Configuration for the ECS agent is stored at /etc/ecs/ecs.config
and will not get replaced during a yum transaction.
If you're trying to set a proxy for ecs-init itself, you'll want to set those env
lines in /etc/init/ecs.override
instead.
Ha! Thanks so much Samuel, I will update my cloud-init scripts to reflect that... I've been just rebuilding the instances, but seemed silly since there were no significant changes.
You're welcome! Please let me know if you run into any problems with this.
Hello... upon performing a yum update, the init script at
/etc/init/ecs.conf
is replaced, and the proxy settings there are lost and even though ECS itself is properly configured at/etc/ecs/ecs.config
, the agent itself gets misconfigured.Here's what my init looks like: