mirror of
https://github.com/rancher/os.git
synced 2025-06-24 14:01:34 +00:00
Docker fails to start when TLS is off
This commit is contained in:
parent
39fc907b8a
commit
3c44f0ef5b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user