From 53428067e75be994ead2358db3f273d06ff8db54 Mon Sep 17 00:00:00 2001 From: Kyle Anderson Date: Wed, 11 Jan 2017 12:18:26 -0800 Subject: [PATCH] #77 use name variable to join specific ecs-cluster --- ecs-cluster/files/cloud-config.yml.tpl | 1 + 1 file changed, 1 insertion(+) diff --git a/ecs-cluster/files/cloud-config.yml.tpl b/ecs-cluster/files/cloud-config.yml.tpl index 1e07310e..7a99ce8b 100644 --- a/ecs-cluster/files/cloud-config.yml.tpl +++ b/ecs-cluster/files/cloud-config.yml.tpl @@ -5,5 +5,6 @@ bootcmd: - echo 'SERVER_REGION=${region}' >> /etc/environment - mkdir -p /etc/ecs + - echo 'ECS_CLUSTER=${name}' >> /etc/ecs/ecs.config - echo 'ECS_ENGINE_AUTH_TYPE=${docker_auth_type}' >> /etc/ecs/ecs.config - echo 'ECS_ENGINE_AUTH_DATA=${docker_auth_data}' >> /etc/ecs/ecs.config