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