Change the way volumes are defined by user

This commit is contained in:
2022-03-16 17:28:32 +01:00
parent 6d670c93a5
commit f7aebc691a
3 changed files with 14 additions and 15 deletions

View File

@ -1,13 +1,9 @@
#!/usr/bin/env bash
# Copy this file as mounts.conf, and add your volumes.
# Copy this file in mounts.conf.d as <something>.conf, and add your volume settings.
# You may repeat this for all your mounts
declare -A mount1
mount1[mapper]='' # As in /dev/mapper/<?>
mount1[target]='' # Mount point (absolute path)
mount1[friendly]='' # Optional friendly name for unit file Description
mount1[autolock]=0 # Set to 1 to enable autolock
mounts=(
$mount1
#$mount2...
)
declare -A mount
mount[mapper]='' # As in /dev/mapper/<?>
mount[target]='' # Mount point (absolute path)
mount[friendly]='' # Optional friendly name for unit file Description
mount[autolock]=0 # Set to 1 to enable autolock