Merge pull request #371 from nathanleclaire/remove_azure_deprecated_swarm_features

Remove now incompatible Swarm init logic
This commit is contained in:
Justin Cormack 2016-07-27 18:36:53 +01:00 committed by GitHub
commit 6ac08f29dc

View File

@ -78,16 +78,6 @@ start()
. /var/lib/waagent/CustomData
if [ "${ROLE}" != "WORKER" ]
then
# TODO: More restrictive policy.
docker swarm init \
--auto-accept manager \
--auto-accept worker
else
docker swarm join "${MANAGER_IP}:2377"
fi
eend 0
}