Sfoglia il codice sorgente

Update mount.sls

correction, wrong line.
added the possibility to set the dump and pass option

dump
    The dump value to be passed into the fstab, Default is 0
pass_num
    The pass value to be passed into the fstab, Default is 0
pull/221/head
preussal 3 anni fa
parent
commit
6e1737a79f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      linux/storage/mount.sls

+ 1
- 1
linux/storage/mount.sls Vedi File

@@ -37,9 +37,9 @@ linux_storage_nfs_packages_{{ mount.path }}:
- fstype: {{ mount.file_system }}
- mkmnt: True
- opts: {{ mount.get('opts', 'defaults,noatime') }}
{%- if mount.file_system == 'xfs' %}
- dump: {{ mount.dump|default('0', true) }}
- pass_num: {{ mount.pass_num|default('0', true) }}
{%- if mount.file_system == 'xfs' %}
- require:
- pkg: xfs_packages_{{ mount.device }}
{%- endif %}

Loading…
Annulla
Salva