]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
task.selinux: Exclude container nodes
authorZack Cerza <zack@redhat.com>
Mon, 17 Jan 2022 23:37:39 +0000 (16:37 -0700)
committerZack Cerza <zack@redhat.com>
Fri, 4 Mar 2022 23:25:26 +0000 (16:25 -0700)
Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/task/selinux.py

index ea8d6948ca59573bdc0ae462a238b036a7ee780b..582cb3390a8b41410fd67a186779935abf4a2ec9 100644 (file)
@@ -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"