Saltstack Official Linux Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

20 行
429B

  1. {%- from "linux/map.jinja" import system with context %}
  2. include:
  3. - linux.system.iommu
  4. /etc/modprobe.d/sriov.conf:
  5. file.managed:
  6. - contents: |
  7. blacklist ixgbevf
  8. blacklist igbvf
  9. blacklist i40evf
  10. {%- if system.kernel.get('unsafe_interrupts', false) %}
  11. /etc/modprobe.d/iommu_unsafe_interrupts.conf:
  12. file.managed:
  13. - contents: options vfio_iommu_type1 allow_unsafe_interrupts=1
  14. {%- endif %}