Browse Source

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 years ago
parent
commit
8927750809
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      linux/storage/mount.sls

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

- fstype: {{ mount.file_system }} - fstype: {{ mount.file_system }}
- mkmnt: True - mkmnt: True
- opts: {{ mount.get('opts', 'defaults,noatime') }} - opts: {{ mount.get('opts', 'defaults,noatime') }}
- mount: {{ mount.get('mount', 'True') }}
{%- 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