1
0
mirror of https://github.com/rancher/os.git synced 2025-06-24 05:57:03 +00:00

Docker fails to start when TLS is off

This commit is contained in:
Darren Shepherd 2015-03-19 09:41:46 -07:00
parent 39fc907b8a
commit 3c44f0ef5b

View File

@ -20,7 +20,7 @@ rm -f /var/run/docker.pid
ARGS=$(echo $(rancherctl config get user_docker.args | sed 's/^-//'))
if [ $(rancherctl config get user_docker.tls) = "true" ]; then
if [ "$(rancherctl config get user_docker.tls)" = "true" ]; then
ARGS="$ARGS $(echo $(rancherctl config get user_docker.tls_args | sed 's/^-//'))"
rancherctl tls generate --server -d $TLS_PATH
cd $TLS_PATH