92817e8d979affd88545eadb46fc32905f214bf0
Mounting encrypted volumes helper
crypt-mounts' purpose is to reduce to one the commands needed to mount punctually encrypted volumes.
Introduction
One defines their mounts in mounts.conf, giving for each:
- the mapper name (usually defined in
/etc/crypttab); - the mount target path;
- a friendly name for the mount (optional);
- a boolean for enabling auto-locking (i.e. closing encrypted volume when unmounted) or not.
The install script then generates a Systemd mount file for each mount, with the required bindings.
Files
variables.conf.templatecontains examples variables definitions, and should be copied locally tovariables.conf(with any required modifications).systemd-templates/contains Systemd units templates for running the script unattended.
Installation
install.shscript copies Systemd templates to their destination, and enables conf-sync timer.
TODO
Description
Languages
Shell
100%