Browse Source

Add posibility to save mount options to the fstab file

pull/203/head
pavel-z1 5 years ago
parent
commit
22339cb4c1
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      linux/storage/mount.sls

+ 1
- 0
linux/storage/mount.sls View File

- mkmnt: True - mkmnt: True
- opts: {{ mount.get('opts', 'defaults,noatime') }} - opts: {{ mount.get('opts', 'defaults,noatime') }}
- mount: {{ mount.get('mount', 'True') }} - mount: {{ mount.get('mount', 'True') }}
- persist: {{ mount.get('save_to_fstab', 'False') }}
{%- if mount.file_system == 'xfs' %} {%- if mount.file_system == 'xfs' %}
- require: - require:
- pkg: xfs_packages_{{ mount.device }} - pkg: xfs_packages_{{ mount.device }}

Loading…
Cancel
Save