mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-07 01:41:22 +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:
@@ -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"
|
||||
|
Reference in New Issue
Block a user