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.

14 lines
272B

  1. grub_d_directory:
  2. file.directory:
  3. - name: /etc/default/grub.d
  4. - user: root
  5. - group: root
  6. - mode: 755
  7. - makedirs: True
  8. {%- if grains.get('virtual_subtype', None) not in ['Docker', 'LXC'] %}
  9. grub_update:
  10. cmd.wait:
  11. - name: update-grub
  12. {%- endif %}