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

@@ -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…
Cancel
Save