Makefile: Fix CONTAINER_OPTS for Fedora

make test-container is failing on Fedora based distribution because of bad label option "disabled".
Change label option to "disable"

Signed-off-by: Mudit Agarwal <muagarwa@redhat.com>
This commit is contained in:
muagarwa 2020-04-23 16:20:12 +05:30 committed by John Mulligan
parent 1eb81971a6
commit 301d8e427f
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
DOCKER_CI_IMAGE = go-ceph-ci
CONTAINER_CMD := docker
CONTAINER_OPTS := --security-opt $(shell grep -q selinux /sys/kernel/security/lsm && echo "label=disabled" || echo "apparmor:unconfined")
CONTAINER_OPTS := --security-opt $(shell grep -q selinux /sys/kernel/security/lsm && echo "label=disable" || echo "apparmor:unconfined")
CONTAINER_CONFIG_DIR := testing/containers/ceph
VOLUME_FLAGS :=
CEPH_VERSION := nautilus