mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-08-11 11:31:51 +00:00
Remove now incompatible Swarm init logic
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
This commit is contained in:
parent
af0158dd43
commit
be9fc93b72
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user