From e1d6bd6a3b30d7283b3cb12792843b69cbb1b69f Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Mon, 17 Jan 2022 16:37:39 -0700 Subject: [PATCH] task.selinux: Exclude container nodes Signed-off-by: Zack Cerza --- teuthology/task/selinux.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/teuthology/task/selinux.py b/teuthology/task/selinux.py index ea8d6948c..582cb3390 100644 --- a/teuthology/task/selinux.py +++ b/teuthology/task/selinux.py @@ -53,6 +53,9 @@ class SELinux(Task): if remote.is_vm: msg = "Excluding {host}: VMs are not yet supported" log.info(msg.format(host=remote.shortname)) + elif remote.is_container: + msg = "Excluding {host}: containers are not yet supported" + log.info(msg.format(host=remote.shortname)) elif remote.os.name in ['opensuse', 'sle']: msg = "Excluding {host}: \ SELinux is not supported for '{os}' os_type yet" -- 2.47.3