summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-04-19 16:01:44 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-04-19 16:29:06 +0200
commit71e8cb8073ad3407effe3dd1252c3ab9be7722ec (patch)
treec3451dbab0d86a1acfd5fb1d8784223f54a60e78 /templates
parentChange path escape rules. (diff)
downloadsystemd_mount-71e8cb8073ad3407effe3dd1252c3ab9be7722ec.tar.gz
systemd_mount-71e8cb8073ad3407effe3dd1252c3ab9be7722ec.tar.xz
Allow options to system_mount.
Diffstat (limited to 'templates')
-rw-r--r--templates/mount.epp2
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(',') %><% } %>