Enable SELinux in tests
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
parent
d7d2ce7ce2
commit
b2ffa3fd4f
1 changed files with 3 additions and 3 deletions
|
@ -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
|
- name: enable and start CRI-O
|
||||||
systemd:
|
systemd:
|
||||||
name: crio
|
name: crio
|
||||||
|
@ -48,9 +51,6 @@
|
||||||
&> {{ artifacts }}/e2e.log
|
&> {{ artifacts }}/e2e.log
|
||||||
# Fix vim syntax hilighting: "
|
# Fix vim syntax hilighting: "
|
||||||
|
|
||||||
- name: disable SELinux
|
|
||||||
command: setenforce 0
|
|
||||||
|
|
||||||
- name: run e2e tests
|
- name: run e2e tests
|
||||||
shell: "{{ e2e_shell_cmd | regex_replace('\\s+', ' ') }}"
|
shell: "{{ e2e_shell_cmd | regex_replace('\\s+', ' ') }}"
|
||||||
args:
|
args:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue