Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ __pycache__/
.vscode
.ansible/
.venv/
.DS_Store
9 changes: 7 additions & 2 deletions roles/openvswitch/tasks/vhost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,20 @@
exit 78 # EREMCHG
fi
stdin: |
module dpdk_virt 1.0;
module dpdk_virt 1.1;
require {
type openvswitch_t;
type virt_var_run_t;
type svirt_t;
type svirt_tmpfs_t;
class dir { search getattr read open };
class sock_file { write getattr append };
class sock_file { write getattr append unlink };
class file { map getattr };
}
allow openvswitch_t virt_var_run_t:dir { search getattr read open };
allow openvswitch_t virt_var_run_t:sock_file { write getattr append };
allow svirt_t virt_var_run_t:sock_file unlink;
allow openvswitch_t svirt_tmpfs_t:file { map getattr };
executable: /bin/bash
register: shell_dpdk_virt
changed_when:
Expand Down