Saltstack Official Linux Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

28 rindas
665B

  1. {%- from "linux/map.jinja" import system with context %}
  2. include:
  3. - linux.system.grub
  4. /etc/default/grub.d/90-sriov.cfg:
  5. file.managed:
  6. - contents: 'GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT intel_iommu=on iommu=pt"'
  7. - require:
  8. - file: grub_d_directory
  9. - watch_in:
  10. - cmd: grub_update
  11. /etc/modprobe.d/sriov.conf:
  12. file.managed:
  13. - contents: |
  14. blacklist ixgbevf
  15. blacklist igbvf
  16. blacklist i40evf
  17. {%- if system.kernel.get('unsafe_interrupts', false) %}
  18. /etc/modprobe.d/iommu_unsafe_interrupts.conf:
  19. file.managed:
  20. - contents: options vfio_iommu_type1 allow_unsafe_interrupts=1
  21. {%- endif %}