From b2ffa3fd4f36c12a244e418100db60251efdf6cf Mon Sep 17 00:00:00 2001 From: Mrunal Patel Date: Tue, 17 Oct 2017 15:24:19 -0700 Subject: [PATCH] Enable SELinux in tests Signed-off-by: Mrunal Patel --- contrib/test/integration/e2e.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/test/integration/e2e.yml b/contrib/test/integration/e2e.yml index 5c4d656e..b2b32e62 100644 --- a/contrib/test/integration/e2e.yml +++ b/contrib/test/integration/e2e.yml @@ -1,5 +1,8 @@ --- +- name: Set SELinux label for cri-o binary + command: chcon system_u:object_r:container_runtime_exec_t:s0 /usr/local/bin/crio + - name: enable and start CRI-O systemd: name: crio @@ -48,9 +51,6 @@ &> {{ artifacts }}/e2e.log # Fix vim syntax hilighting: " -- name: disable SELinux - command: setenforce 0 - - name: run e2e tests shell: "{{ e2e_shell_cmd | regex_replace('\\s+', ' ') }}" args: