mirror of
https://github.com/rancher/os.git
synced 2025-09-03 07:44:21 +00:00
Add extra_args to user docker invocation
This commit is contained in:
@@ -19,6 +19,7 @@ fi
|
|||||||
rm -f /var/run/docker.pid
|
rm -f /var/run/docker.pid
|
||||||
|
|
||||||
ARGS=$(echo $(rancherctl config get user_docker.args | sed 's/^-//'))
|
ARGS=$(echo $(rancherctl config get user_docker.args | sed 's/^-//'))
|
||||||
|
ARGS="$ARGS $(echo $(rancherctl config get user_docker.extra_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/^-//'))"
|
ARGS="$ARGS $(echo $(rancherctl config get user_docker.tls_args | sed 's/^-//'))"
|
||||||
|
Reference in New Issue
Block a user