mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-09 03:11:49 +01:00
app-arch/torcx: update wrapper to disable selinux
it's the default behavior now. Since this script is deprecated, we do a minimum change on it. Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
This commit is contained in:
parent
beabd977e1
commit
501d937d7e
@ -34,8 +34,8 @@ parse_docker_args "$@"
|
|||||||
USE_SELINUX=""
|
USE_SELINUX=""
|
||||||
# Do not override selinux if it is already explicitly configured.
|
# Do not override selinux if it is already explicitly configured.
|
||||||
if [[ -z "${ARG_SELINUX}" ]]; then
|
if [[ -z "${ARG_SELINUX}" ]]; then
|
||||||
# If unspecified, default on
|
# If unspecified, default off
|
||||||
USE_SELINUX="--selinux-enabled"
|
USE_SELINUX="--selinux-enabled=false"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec dockerd "$@" ${USE_SELINUX}
|
exec dockerd "$@" ${USE_SELINUX}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user