Remove now incompatible Swarm init logic

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
This commit is contained in:
Nathan LeClaire 2016-07-27 10:34:57 -07:00
parent af0158dd43
commit be9fc93b72

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
}