mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 10:09:07 +00:00
Posixly correct = not ==
See #161 #170 should be covered... Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
996cab9f17
commit
2971b83f25
@ -64,7 +64,7 @@ start()
|
||||
|
||||
source /var/lib/waagent/CustomData
|
||||
|
||||
if [ "${ROLE}" == "MANAGER" ]
|
||||
if [ "${ROLE}" = "MANAGER" ]
|
||||
then
|
||||
docker swarm init \
|
||||
--auto-accept manager \
|
||||
|
@ -15,7 +15,7 @@ start()
|
||||
|
||||
# Only start with networking on cloud editions
|
||||
DOCKER_OPTS="${DOCKER_OPTS} -H unix:///var/run/docker.sock"
|
||||
if [ "$(mobyplatform)" == "aws" ] || [ "$(mobyplatform)" == "azure" ]
|
||||
if [ "$(mobyplatform)" = "aws" ] || [ "$(mobyplatform)" = "azure" ]
|
||||
then
|
||||
# TODO: Don't do this
|
||||
DOCKER_OPTS="${DOCKER_OPTS} -H 0.0.0.0:2375"
|
||||
|
Loading…
Reference in New Issue
Block a user