Fix changing DOCKER_OPTS for DSH and KubeCluster
Currently DOCKER_OPTS incorrectly changed with insecure-registry and registry-mirror opts (setupDockerRegistry and setupDockerMirror scripts): opts aren't wrapped with quotes after changing. Change-Id: I3265953cc6e6d9de75fa4ba185059cd75c06181c Closes-bug: #1628405
This commit is contained in:
parent
a0e5e597a7
commit
f9b2710b87
@ -13,4 +13,4 @@
|
||||
|
||||
source /etc/default/docker
|
||||
DOCKER_OPTS+=" --registry-mirror=$1"
|
||||
echo "DOCKER_OPTS=${DOCKER_OPTS}" > /etc/default/docker
|
||||
echo "DOCKER_OPTS=\"${DOCKER_OPTS}\"" > /etc/default/docker
|
||||
|
@ -13,4 +13,4 @@
|
||||
|
||||
source /etc/default/docker
|
||||
DOCKER_OPTS+=" --insecure-registry $1"
|
||||
echo "DOCKER_OPTS=${DOCKER_OPTS}" > /etc/default/docker
|
||||
echo "DOCKER_OPTS=\"${DOCKER_OPTS}\"" > /etc/default/docker
|
||||
|
@ -2,4 +2,4 @@
|
||||
|
||||
source /etc/default/docker
|
||||
DOCKER_OPTS+=" --registry-mirror=$1"
|
||||
echo "DOCKER_OPTS=${DOCKER_OPTS}" > /etc/default/docker
|
||||
echo "DOCKER_OPTS=\"${DOCKER_OPTS}\"" > /etc/default/docker
|
||||
|
@ -2,4 +2,4 @@
|
||||
|
||||
source /etc/default/docker
|
||||
DOCKER_OPTS+=" --insecure-registry $1"
|
||||
echo "DOCKER_OPTS=${DOCKER_OPTS}" > /etc/default/docker
|
||||
echo "DOCKER_OPTS=\"${DOCKER_OPTS}\"" > /etc/default/docker
|
||||
|
Loading…
Reference in New Issue
Block a user