Quellcode durchsuchen

Update mount.sls

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 vor 3 Jahren
Ursprung
Commit
6b9766b663
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. +2
    -0
      linux/storage/mount.sls

+ 2
- 0
linux/storage/mount.sls Datei anzeigen

@@ -38,6 +38,8 @@ linux_storage_nfs_packages_{{ mount.path }}:
- 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) }}
- require:
- pkg: xfs_packages_{{ mount.device }}
{%- endif %}

Laden…
Abbrechen
Speichern