aboutsummaryrefslogtreecommitdiff
path: root/scripts/hostclass/cups_server
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/hostclass/cups_server')
-rw-r--r--scripts/hostclass/cups_server3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/hostclass/cups_server b/scripts/hostclass/cups_server
index 6667829..d9b6e66 100644
--- a/scripts/hostclass/cups_server
+++ b/scripts/hostclass/cups_server
@@ -9,6 +9,9 @@ cups_tls_dir=${cups_conf_dir}/ssl
cups_tls_cert="${cups_tls_dir}/${fqdn}.crt"
cups_tls_key="${cups_tls_dir}/${fqdn}.key"
+# Create dataset for persistent CUPS configuration.
+create_dataset -o "mountpoint=${cups_conf_dir}" "${state_dataset}/cups"
+
# Install required packages.
pkg install -y cups cups-filters