diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-04-19 16:01:44 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-04-19 16:29:06 +0200 |
commit | 71e8cb8073ad3407effe3dd1252c3ab9be7722ec (patch) | |
tree | c3451dbab0d86a1acfd5fb1d8784223f54a60e78 /templates | |
parent | Change path escape rules. (diff) | |
download | systemd_mount-71e8cb8073ad3407effe3dd1252c3ab9be7722ec.tar.gz systemd_mount-71e8cb8073ad3407effe3dd1252c3ab9be7722ec.tar.xz |
Allow options to system_mount.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/mount.epp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/mount.epp b/templates/mount.epp index 54d191a..af76c85 100644 --- a/templates/mount.epp +++ b/templates/mount.epp @@ -1,6 +1,7 @@ <%- | String $where, String $what, String $wantedby, + Array[String] $options, | -%> [Unit] @@ -11,3 +12,4 @@ [Mount] Where=<%= $where %> What=<%= $what %> +<% if $options != [] { %>Options=<%= $options.join(',') %><% } %> |