Sfoglia il codice sorgente

Add option that will allow to not mount device automatically. In case if you need only safe cmmount config to the /etc/fstab

pull/203/head
pavel-z1 5 anni fa
parent
commit
8927750809
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      linux/storage/mount.sls

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

@@ -41,6 +41,7 @@ linux_storage_nfs_packages:
- fstype: {{ mount.file_system }}
- mkmnt: True
- opts: {{ mount.get('opts', 'defaults,noatime') }}
- mount: {{ mount.get('mount', 'True') }}
{%- if mount.file_system == 'xfs' %}
- require:
- pkg: xfs_packages_{{ mount.device }}

Loading…
Annulla
Salva