diff options
Diffstat (limited to 'fdio.infra.ansible/roles/vpp_device/tasks')
-rw-r--r-- | fdio.infra.ansible/roles/vpp_device/tasks/main.yaml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml b/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml index d12fe1edf5..9dbee8d99d 100644 --- a/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml +++ b/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml @@ -129,3 +129,12 @@ - "Update GRUB" tags: - set-grub + +- name: Configure unsafe noiommu + lineinfile: + path: "/etc/modprobe.d/vfio-noiommu.conf" + state: "present" + line: "options vfio enable_unsafe_noiommu_mode=1" + create: "yes" + tags: + - configure-unsafe-noiommu |