Saltstack Official Linux Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 line
352B

  1. include:
  2. - linux.system.grub
  3. /etc/default/grub.d/90-iommu.cfg:
  4. file.managed:
  5. - contents: 'GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT intel_iommu=on iommu=pt"'
  6. - require:
  7. - file: grub_d_directory
  8. {%- if grains.get('virtual_subtype', None) not in ['Docker', 'LXC'] %}
  9. - watch_in:
  10. - cmd: grub_update
  11. {%- endif %}