fix wrong usage in script of integration test
Signed-off-by: Fengtu Wang <wangfengtu@huawei.com> Upstream-commit: a42e72814f60715bb68d8ee918d26be0946f5662 Component: engine
This commit is contained in:
@ -44,12 +44,13 @@ if [ -n "$DOCKER_STORAGE_OPTS" ]; then
|
||||
unset IFS
|
||||
fi
|
||||
|
||||
# example usage: DOCKER_STORAGE_OPTS="dm.basesize=20G,dm.loopdatasize=200G"
|
||||
# example usage: DOCKER_REMAP_ROOT=default
|
||||
extra_params=""
|
||||
if [ "$DOCKER_REMAP_ROOT" ]; then
|
||||
extra_params="--userns-remap $DOCKER_REMAP_ROOT"
|
||||
fi
|
||||
|
||||
# example usage: DOCKER_EXPERIMENTAL=1
|
||||
if [ "$DOCKER_EXPERIMENTAL" ]; then
|
||||
echo >&2 '# DOCKER_EXPERIMENTAL is set: starting daemon with experimental features enabled! '
|
||||
extra_params="$extra_params --experimental"
|
||||
|
||||
Reference in New Issue
Block a user